[erlang-bugs] file:consult/1 fails to load map

Daniel Goertzen <>
Fri Oct 25 23:17:14 CEST 2013

First off, nice work on the maps implementation!  It seems to work just
fine for my map branch of yamler, but the unit tests do not.  The issue is
with file:consult...

$ cat map.txt
#{abc => 123}.

$ erl
Erlang R17A (erts-5.11) [source-19e388e] [64-bit] [smp:3:3]
[async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.11  (abort with ^G)
1> file:consult("map.txt").
{error,{1,erl_parse,"bad term"}}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20131025/36d1c0c7/attachment.html>

More information about the erlang-bugs mailing list