#674: Bad error message: varying arguments
--------------------------------------+-------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 6.4.1
Severity: normal | Resolution: wontfix
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
--------------------------------------+-------------------------------------
Comment (by simonpj):
'guest' writes "In the wake of the GHC survey Simon PJ asked for error
messages that could be improved. This is such an error message."
And indeed I have improved it:
{{{
Foo4.hs:4:0:
Equations for `f' have different numbers of arguments
Foo4.hs:4:0-14
Foo4.hs:5:0-14
}}}
It's nothing to do with the type signature, which might be absent, or
might have more args than the defintion.
Simon
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/674>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs