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

Kostis Sagonas <>
Mon Feb 3 20:11:42 CET 2014


On 02/03/2014 07:34 PM, José Valim wrote:
> There is a regression in 17.0-rc1. The following code will execute
> io:format/2 twice:
>
>
>     -module(test).
>     -export([test/0]).
>     test() ->
>        X = Y = io:format(<<"foo~n">>),
>        X,
>        Y.

Ouch!

Kostis



More information about the erlang-bugs mailing list