[mercury-users] Possible state var / uniqueness bug Re: Request for comments on this code

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jul 10 16:18:59 AEST 2006


On Mon, 10 Jul 2006, Peter Moulder wrote:

> Is this a compiler bug?  Or how should tst2.m be written such that it
> uses state-variable syntax for its io vars, and has an I/O call as the
> condition of an if-then-else?
>

It's a compiler bug - you aren't supposed be allowed to do I/O in the
condition of an if-then-else.

Julien.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at csse.unimelb.edu.au
administrative address: owner-mercury-users at csse.unimelb.edu.au
unsubscribe: Address: mercury-users-request at csse.unimelb.edu.au Message: unsubscribe
subscribe:   Address: mercury-users-request at csse.unimelb.edu.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list