Skip to content

This library is broken in elixir 1.16 #17

Description

@sjmueller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions