Skip to content

Elixir 120 modernization#26

Open
eriknaslund wants to merge 3 commits into
rozap:masterfrom
eriknaslund:elixir-120-modernization
Open

Elixir 120 modernization#26
eriknaslund wants to merge 3 commits into
rozap:masterfrom
eriknaslund:elixir-120-modernization

Conversation

@eriknaslund

@eriknaslund eriknaslund commented Jul 19, 2026

Copy link
Copy Markdown

See #25 for issue description.

If we're not comfortable with increasing the minimum required Elixir version to 1.16 we can leave out the last commit (fd280ae). Ideally it's included though, because it logs a deprecation warning.

- Using single quotes was deprecated since https://elixir.hexdocs.pm/1.17.0/changelog.html (released 2024-07).
- In this case we want an actual string and not a charlist anyways.
- Pinned the variable as suggested by the compiler.
- Increased the minimum elixir version in mix.exs to 1.16 since that's
  when the argument order change happened.
- Argument order changed in Elixir 1.16.0 which was released 2023-12.
- The older argument-order version is scheduled for removal in Elixir
  2.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant