[erlang-bugs] Maps behaving oddly on update syntax with literal

José Valim jose.valim@REDACTED
Wed Feb 5 20:09:56 CET 2014


Oops, now replying to the mailing list (sorry Björn for getting this twice).

I have tried the branch and both issues were fixed, thanks!

Is M#{...} going to be changed to raise { badmap, M }? The examples above
just raise:

1> foo:bar().
** exception error: bad argument
     in function  foo:bar/0 (foo.erl, line 6)

And it would be nice to get a more detailed message. :)

*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140205/3afedea9/attachment.htm>


More information about the erlang-bugs mailing list