Yes, good point. I've improved the error message. It now reports a malformed class declaration.
S | -----Original Message----- | From: George Russell [mailto:[EMAIL PROTECTED]] | Sent: 23 November 2001 13:22 | To: [EMAIL PROTECTED] | Subject: Confusing GHC error message | | | (Yes, I know that's not very impressive, but you must all | have been wondering what's happened to me.) | | The attached file, when compiled with ghc5.02.1, | -fglasgow-exts -fallow-overlapping-instances | -fallow-undecidable-instances produces the error message | Haskell.hs:11: Illegal left hand side in data/newtype | declaration This is rather confusing, as the error comes not | from the data declaration in the file, but because on the | next line "class" was accidentally typed, rather than "instance". | _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
