[GHC] #10615: Panic; no skolem info (partial type signatures)

GHC ghc-devs at haskell.org
Wed Aug 5 15:50:03 UTC 2015


#10615: Panic; no skolem info (partial type signatures)
-------------------------------------+-------------------------------------
        Reporter:  holzensp          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"28096b274a3803b8a479c5dd94ebda655a15566c/ghc" 28096b2/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="28096b274a3803b8a479c5dd94ebda655a15566c"
 Fix quantification for inference with sigs

 When we are *inferring* the type of a let-bound function,
 we might still have a type signature.  And we must be sure
 to quantify over its type variables, else you get the crash
 in Trac #10615.

 See Note [Which type variables to quantify] in TcSimplify
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10615#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list