#3102: The impossible happened with implicit parameters
--------------------------------------+-------------------------------------
Reporter: Ashley Yakeley | Owner: chak
Type: bug | Status: closed
Priority: normal | Milestone: 6.12.1
Component: Compiler (Type checker) | Version: 6.10.1
Resolution: fixed | Keywords:
Difficulty: Unknown | Os: Linux
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
--------------------------------------+-------------------------------------
Changes (by igloo):
* status: new => closed
* failure: => None/Unknown
* resolution: => fixed
Comment:
In 6.12 and HEAD, we now get a nice error:
{{{
u.hs:11:9:
Occurs check: cannot construct the infinite type:
a = (?p::Int) => a
In the first argument of `f', namely `t'
In the expression: f t
In the definition of `result': result = f t
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3102#comment:4>
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