#2360: More information in occurs check message
------------------------------+---------------------------------------------
Reporter: ajd | Owner: chak
Type: feature request | Status: closed
Priority: low | Milestone: 7.4.1
Component: Compiler | Version: 6.8.2
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: Unknown | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by chak):
* status: new => closed
* failure: => None/Unknown
* resolution: => fixed
Comment:
The error message for this program is now back to
{{{
A.hs:5:7:
Couldn't match type `a' with `[a]'
`a' is a rigid type variable bound by
the type signature for foo :: [a] -> a at A.hs:5:1
Expected type: [a] -> a
Actual type: [a] -> [a]
In the expression: id
In an equation for `foo': foo = id
}}}
This seems to implement simonpj's suggestion; so, I am closing this
ticket.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2360#comment:13>
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