[erlang-bugs] Guard clauses using not, binaries and andalso blows up the compiler chain

Björn Gustavsson bgustavsson@REDACTED
Mon Oct 29 16:37:29 CET 2012


On Sat, Oct 27, 2012 at 12:16 PM, José Valim <jose.valim@REDACTED> wrote:
> Hello everyone,
>
> The following function cannot compile on Erlang R15B02:
>
>     format(Datetime, << H, T / binary >>) when not ((H >= $a) andalso (H =<
> $z)) andalso
>         not ((H >= $A) andalso (H =< $Z)) ->
>       { Datetime, T }.
>

Thanks!

We will fix the problem in either R15B03 or R16B.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list