Skip to content

Conversation

@aeturnum
Copy link
Contributor

@aeturnum aeturnum commented Jan 8, 2025

I was confused when I saw the current charlist warning and this PR slightly tweaks the language to make the reason for the warning clearer. Specifically I wanted to highlight that this is not a stylistic disagreement, but is about a deprecation, which the current language omits.

P.s. this is my first PR on elixir and would welcome feedback. A huge fan of the language and all of the work y'all do!

The current warning for single-quoted character lists is confusing
because it appears to be a stylistic note instead of a deprecation
warning. This commit updates the language to make the reasoning clearer
and to more clearly describe what `mix format --migrate` will change
about the users' code.
@josevalim josevalim merged commit b18aaa0 into elixir-lang:main Jan 9, 2025
9 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

josevalim pushed a commit that referenced this pull request Jan 9, 2025
The current warning for single-quoted character lists is confusing
because it appears to be a stylistic note instead of a deprecation
warning. This commit updates the language to make the reasoning clearer
and to more clearly describe what `mix format --migrate` will change
about the users' code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants