#4940: Bad error message using poly pat bind with MonoPatBinds
----------------------------------------+-----------------------------------
Reporter: batterseapower | Owner:
Type: feature request | Status: merge
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect warning at
compile-time
----------------------------------------+-----------------------------------
Changes (by simonpj):
* status: new => merge
Comment:
This fixes item (1)
{{{
Tue Feb 1 12:29:20 GMT 2011 [email protected]
* Fix type checker error message
See Trac #4940. We had a message
The lambda expression `\ x -> x' has one argument one argument,
repeating the "one argument" part. Easy fix.
M ./compiler/typecheck/TcMatches.lhs -4 +4
}}}
Please merge to stable branch -- and then leave the ticket open for
(2),(3)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4940#comment:1>
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