Yes, we had debates about it and it is not the only time Dialyzer would
complain. I believe simply pattern matching on %MapSet{} would generate
warnings too. The one who has to change here is dialyzer (or Elixir's
interface to dialyzer should provide reasonable alternatives for this -
although I have no idea which ones).*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Tue, Jul 30, 2019 at 8:00 PM Norbert Melzer <[email protected]> wrote: > Due to the opaqueness of `MapSet.t/*` such a macro isn't possible to > implement without dialyzer complaining on its usage. > > José Valim <[email protected]> schrieb am Di., 30. Juli > 2019, 19:55: > >> Or to be more precise, we will add is_struct/2, which is a more general >> feature than the one asked here. There is already an issue tracking this. >> >> Thanks for the proposal! >> -- >> >> >> *José Valim* >> www.plataformatec.com.br >> Skype: jv.ptec >> Founder and Director of R&D >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elixir-lang-core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J8xFB6wHQ4ayNTQF5grJ1N3wzne%2BaW7Sk6Kcn30%2BO5qg%40mail.gmail.com >> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J8xFB6wHQ4ayNTQF5grJ1N3wzne%2BaW7Sk6Kcn30%2BO5qg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/CA%2BbCVst0PE7Qc7x12RX-GLq9B%2Bes9Ep88KC3-JG0PPiUVWZaaw%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-core/CA%2BbCVst0PE7Qc7x12RX-GLq9B%2Bes9Ep88KC3-JG0PPiUVWZaaw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JEKzAkVEquZNwJQfyz3G3AZfjAvUeq9z7wNPiwdC1GHw%40mail.gmail.com.
