Thank you.  Fixed, I think.

S

| -----Original Message-----
| From: Wolfgang Thaller [mailto:[EMAIL PROTECTED]
| Sent: 15 October 2003 11:29
| To: Simon Peyton-Jones; [EMAIL PROTECTED]
| Subject: Spurious "Overlapping Instances" error
| 
| I've got another one! With the attached files and the CVS HEAD:
| 
| titan:~/Documents/Experiments/overlapBug wolfgang$ ghc --make Main.hs
| Chasing modules from: Main.hs
| Compiling Foo              ( ./Foo.hs, ./Foo.o )
| Compiling Main             ( ./Main.hs, ./Main.o )
| Linking ...
| titan:~/Documents/Experiments/overlapBug wolfgang$ touch Main.hs
| titan:~/Documents/Experiments/overlapBug wolfgang$ ghc --make Main.hs
| Chasing modules from: Main.hs
| Skipping  Foo              ( ./Foo.hs, ./Foo.o )
| Compiling Main             ( ./Main.hs, ./Main.o )
| 
| Main.hs:5:
|      Overlapping instances for Foo Int
|        arising from use of `bar' at Main.hs:5
|      Matching instances:
|        Imported from `Foo': instance Foo Int
|        Imported from `Foo': instance Foo Int
|      In the definition of `main': main = bar (42 :: Int)
| 
| Happy Debugging,
| 
| Wolfgang
| 
| 


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

Reply via email to