whatyouhide / short_maps

⚠️Retired⚠️ library that provided a ~m sigil for ES6-like map destructuring in Elixir.
https://andrealeopardi.com/posts/a-story-of-regret-and-retiring-a-library-from-hex/
77 stars 5 forks source link

Better error message when using non-variable characters #6

Closed Havvy closed 8 years ago

Havvy commented 8 years ago

E.g., ~m{x&} should emit an error, because & is not a valid character in variables.

E.g., ~m{4a} should emit an error, because 4a is not a valid variable because variables cannot start with numbers.

whatyouhide commented 8 years ago

Closed by 2b5d57898e0c4f742d527181c0906db3d83eb765.