[GHC] #11976: Error message mentions impredicative polymorphism
GHC
ghc-devs at haskell.org
Thu Apr 28 16:32:16 UTC 2016
#11976: Error message mentions impredicative polymorphism
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones <simonpj@…>):
In [changeset:"4c746cb2886b06ca53a2edb62188827c3dbccce0/ghc" 4c746cb/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="4c746cb2886b06ca53a2edb62188827c3dbccce0"
Add missing solveEqualities
I'd missed a call to solveEqualities in the partial-type-sig case
of TcBinds.tcUserTypeSig.
Also the checkValidType test done there best done after inference,
in checkInferredPolyId (and is already done there).
Fixes Trac #11976
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11976#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list