Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This library is broken in elixir 1.16 #17

Open
sjmueller opened this issue Jan 5, 2024 · 1 comment · May be fixed by #18
Open

This library is broken in elixir 1.16 #17

sjmueller opened this issue Jan 5, 2024 · 1 comment · May be fixed by #18

Comments

@sjmueller
Copy link

After upgrading to elixir 1.16.0, we now get compile time errors everywhere shorter_maps is used:

** (ArgumentError) interpolation is not supported with the ~M sigil
    (shorter_maps 2.2.5) expanding macro: ShorterMaps.sigil_M/2

def upsert_challenge_template(user_access, data) do
    ~M{user_id, set_id} = user_access
end

https://github.com/meyercm/shorter_maps/blob/master/lib/shorter_maps.ex#L69

Also note the same problem exists with lowercase ~m sigil.

@abshierjoel
Copy link

@sjmueller for what it's worth, I'm maintaining a fork of this for several of my own projects: abshierjoel/shorter_maps. I'll work on getting it published to hex in the near future.

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 a pull request may close this issue.

2 participants