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
@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.
After upgrading to elixir
1.16.0
, we now get compile time errors everywhereshorter_maps
is used:https://github.com/meyercm/shorter_maps/blob/master/lib/shorter_maps.ex#L69
Also note the same problem exists with lowercase
~m
sigil.