[ ghc-Bugs-454674 ] Erroneus error message

noreply@sourceforge.net noreply@sourceforge.net
Fri, 24 Aug 2001 01:02:05 -0700


Bugs item #454674, was opened at 2001-08-23 12:08
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=454674&group_id=8032

Category: None
Group: 5.00
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Iavor S. Diatchki (iavor_sd)
Assigned to: Nobody/Anonymous (nobody)
Summary: Erroneus error message

Initial Comment:
When run in Haskell'98 complaint mode ghc(i) reports:

    Too many parameters for class `Tag'
    In the class declaration for `Tag'

for the following program:

class Tag

main = main



The error is that there are too few parameters
(i.e. none) rather than too many.




----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=454674&group_id=8032