[erlang-bugs] More compiler errors

Kostis Sagonas kostis@REDACTED
Sat Mar 1 08:25:39 CET 2014


On 03/01/2014 07:31 AM, Ulf Norell wrote:
> Certainly most of those programs make no sense and I'd be fine with the
> compiler rejecting them, but if it was my compiler I wouldn't want it to
> crash with an internal error on non-sensical programs.
>
> Here's another one for you. Sensical or not?
>
> -module(bug5).
> f(X = true) when X; X; true -> ok.

This is a program that I would classify as a bug. The compiler should 
not crash on this.

Kostis




More information about the erlang-bugs mailing list