[GHC] #12844: No Skolem Info with PartialTypeSignatures
GHC
ghc-devs at haskell.org
Fri Nov 25 17:47:09 UTC 2016
#12844: No Skolem Info with PartialTypeSignatures
-------------------------------------+-------------------------------------
Reporter: crockeea | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones <simonpj@…>):
In [changeset:"1bfff60fc57cd564382b86bdfb1f2764ca15d44f/ghc"
1bfff60f/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="1bfff60fc57cd564382b86bdfb1f2764ca15d44f"
Fix inference of partial signatures
When we had
f :: ( _ ) => blah
we were failing to call growThetaTyVars, as we do in the
no-type-signature case, and that meant that we weren't generalising
over the right type variables. I'm quite surprised this didn't cause
problems earlier.
Anyway Trac #12844 showed it up and this patch fixes it
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12844#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list