[erlang-questions] [erlang-bugs] parser/preprocessor bug

Vlad Dumitrescu vladdu55@REDACTED
Fri Nov 18 14:16:34 CET 2011


Hi,

On Fri, Nov 18, 2011 at 14:11, Joe Armstrong <erlang@REDACTED> wrote:
> -module(bug).
> -compile(export_all).
> -record(bug,{a}).
> test() ->
>     [#bug{a=1} #bug{a=2}].

It's not a bug, it's the same as

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

regards,
Vlad



More information about the erlang-questions mailing list