After the recent changes on the head, I get a strange error message for the attached code:

Foo.hs:24:
    Overlapping instances for X (Foo c)
      arising from use of `x' at Foo.hs:24
    Matching instances: Foo.hs:17: instance (X a) => X (Foo a)
    In the definition of `z': z = x
    In the definition for method `z'
    In the instance declaration for `Z Foo'


Attachment: Foo.hs
Description: Binary data



Hugs, GHC 6.0.1, and the GHC HEAD from a few days ago all compile the code.
The code was actually an attempt to find a test case for another problem I had while compiling HOpenGL; there, I get a "Could not deduce ... from the context ..." error message.

Cheers,

Wolfgang
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to