class not used, error not detected

Simon Peyton-Jones simonpj at microsoft.com
Tue Sep 2 03:22:06 EDT 2003


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: glasgow-haskell-bugs-admin at haskell.org
[mailto:glasgow-haskell-bugs-admin at haskell.org] 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
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs





More information about the Glasgow-haskell-bugs mailing list