[erlang-questions] parser/preprocessor bug

Joe Armstrong erlang@REDACTED
Fri Nov 18 14:11:00 CET 2011


-module(bug).

-compile(export_all).

-record(bug,{a}).

test() ->
    [#bug{a=1} #bug{a=2}].

1> c(bug).
{ok,bug}
2> bug:test().
[{bug,2}]


Should be "," or "|" between the records in the list

/Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111118/17bc676b/attachment.htm>


More information about the erlang-questions mailing list