[erlang-bugs] Regression on match in 17.0-rc1

José Valim <>
Mon Feb 3 19:34:47 CET 2014

There is a regression in 17.0-rc1. The following code will execute
io:format/2 twice:


test() ->
  X = Y = io:format(<<"foo~n">>),

I ran it with:

$ erlc test.erl
$ erl -s test test

Above is the minimum test case extracted from a more complex expression
where I matched against a record:

Value = #elixir_env{} = expr()

Thank you,

*José Valim*
Skype: jv.ptec
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140203/916a9e7c/attachment.html>

More information about the erlang-bugs mailing list