[mercury-users] intermodule optimization and type classes
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Jan 3 17:04:49 AEDT 2002
On 02-Jan-2002, Michael Day <mikeday at bigpond.net.au> wrote:
>
> I get a compile error like this when I turn on intermodule optimization:
>
> ints/vector.int:004: Error: typeclass `vector:vector/1' multiply defined.
> int2s/vector.int2:003: Here is the previous definition of typeclass `vector:vector/1'.
> ints/vector.int:004: The superclass constraints do not match.
>
> Now, it really is only defined in one place, and it compiles and runs fine
> when the option is turned off. Is this likely to be my fault?
That one looks to me like a Mercury compiler bug.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list