[GHC] #7869: GHC complains about applying a function to one argument
GHC
cvs-ghc at haskell.org
Tue Apr 30 10:52:30 CEST 2013
#7869: GHC complains about applying a function to one argument
-----------------------------+----------------------------------------------
Reporter: Mortchek | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Comment(by simonpj@…):
commit b988dc39a06278acc2373ba9a40ee08da0127411
{{{
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Apr 29 17:28:20 2013 +0100
Suppress a misleading error message (Trac #7869)
We were saying
The function `f' is applied to one argument,
but its type `[a] -> b' has only one
which is obviously bogus.
This fix suppresses the explanation in cases where it may not
be the *right* explanation.
compiler/typecheck/TcUnify.lhs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7869#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list