not quite a bug, but...
Thu Mar 21 10:16:16 CET 2002
> I have found a bug in our code that wasn't easy to spot, and
> I wonder if the
> compiler shouldn't issue a warning...
> The faulty code was:
> case NewTime = 0 of
> true -> ...
> false ->
Some people recommend getting into the habit of putting the constant first
case 0 = NewTime of
true -> ...
Maybe someone else might comment on your suggestions though..
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.
More information about the erlang-questions