Skip to content

Conversation

@mpaulmier
Copy link

See https://github.com/elixir-lang/elixir/blob/v1.15/CHANGELOG.md#elixir-6

[Kernel] Raise instead of warning on undefined variables. Previously, an undefined variable would attempt to invoke a function of the same name, which led to confusing error messages, especially to newcomers. To enable the previous behaviour, invoke Code.compiler_options(on_undefined_variable: :warn) at the top of your mix.exs

See https://github.com/elixir-lang/elixir/blob/v1.15/CHANGELOG.md#elixir-6

\> [Kernel] Raise instead of warning on undefined variables. Previously, an
undefined variable would attempt to invoke a function of the same name, which
led to confusing error messages, especially to newcomers. To enable the previous
behaviour, invoke Code.compiler_options(on_undefined_variable: :warn) at the top
of your mix.exs
@Shakadak
Copy link
Member

Approved

@mpaulmier
Copy link
Author

mpaulmier commented Dec 27, 2025

After reviewing the code with other colleagues, it appears that the master branch should not be used with versions above 1.10, instead, people shoud use the master-1.10 branch which should be treated as the main branch until it is merged into master for good.
At the time of opening this PR I wasn't aware that this branch is basically deprecated so I am closing it. We keep it for legacy projects only which use older versions of elixir.

@mpaulmier mpaulmier closed this Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants