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

Björn-Egil Dahlberg egil@REDACTED
Wed Feb 5 20:17:35 CET 2014


On 2014-02-05 20:09, José Valim wrote:
> Oops, now replying to the mailing list (sorry Björn for getting this 
> twice).
Aww.
>
> I have tried the branch and both issues were fixed, thanks!
Great!
>
> Is M#{...} going to be changed to raise { badmap, M }? The examples 
> above just raise:
Probably.
>
> 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. :)
The demands .. =D

Hopefully this should be in place for RC2 .. but I haven't gotten to it yet.

// Björn-Egil
>
> *José Valim*
> www.plataformatec.com.br <http://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/27a75b30/attachment.htm>


More information about the erlang-bugs mailing list