Binary guards problem
Bjorn Gustavsson
bjorn@REDACTED
Mon Oct 23 11:37:19 CEST 2000
It is a compiler problem. I'm working on a correction. Thanks for
pointing out the error.
/Björn
Sean Hinde <Sean.Hinde@REDACTED> writes:
> All,
>
> There seems to be a small problem with binaries in R7B:
>
> test(<<B/binary>>) when size(B) < 4 ->
> small;
> test(<<1, B/binary>>) ->
> large.
>
> calling test(<<1, 2>>) returns large
> calling test(<<2, 2>>) returns small
>
> It works fine in the debugger..
>
> Sean
>
>
>
> NOTICE AND DISCLAIMER:
> This email (including attachments) is confidential. If you have received
> this email in error please notify the sender immediately and delete this
> email from your system without copying or disseminating it or placing any
> reliance upon its contents. We cannot accept liability for any breaches of
> confidence arising through use of email. Any opinions expressed in this
> email (including attachments) are those of the author and do not necessarily
> reflect our opinions. We will not accept responsibility for any commitments
> made by our employees outside the scope of our business. We do not warrant
> the accuracy or completeness of such information.
>
>
--
Björn Gustavsson Ericsson Utvecklings AB
bjorn@REDACTED ÄT2/UAB/F/P
BOX 1505
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions
mailing list