Yes, this is a known bug, in SourceForge. (It's open source, so you can
see the bug list.)
http://sourceforge.net/tracker/index.php?func=detailaid=756454group_id
=8032atid=108032
Fixing it is pretty easy, but I've spent 2 yrs not getting around to it!
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
| Behalf Of Wolfgang Jeltsch
| Sent: 01 September 2003 07:06
| To: GHC-Bugs
| Subject: class not used, error not detected
|
| Hello,
|
| the following code is accepted by GHC but rejected by Hugs. I think,
GHC is in
| error here.
| class C a where
| x :: Int
|
| main :: IO ()
| main = return ()
|
| Is the phenomenon mentioned in
| http://haskell.org/pipermail/haskell/2003-August/012428.html
| similar to this problem?
|
| Wolfgang
|
| ___
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs