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=detail&aid=756454&group_id
=8032&atid=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

Reply via email to