You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vinibrsl
changed the title
SyntaxError when defining module attribute with number key
SyntaxError when defining module attribute with numeric-starting key
Feb 26, 2021
Elixir is Unicode-centric and part of the decision @josevalim made is to follow the identifier syntax which is described in Unicode technical report 31 (with some incredibly minor differences). The core team also makes backward compatibility a commitment so your proposal is unlikely to get traction. If you feel passionately that the change has merit, then the recommended approach is to gather consensus in Elixir Forum or contribute a proposal to the Elixir Core mailing list.
Environment
Current behavior
When declaring module attributes starting with numbers, a syntax error pops up.
Expected behavior
The text was updated successfully, but these errors were encountered: