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

GHC ghc-devs at haskell.org
Wed Aug 5 15:50:02 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:"953648127cea2836ec134b03a966695ac0b36434/ghc"
 95364812/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="953648127cea2836ec134b03a966695ac0b36434"
 Tidy up and refactor wildcard handling

 When examining #10615, I found the wildcard handling hard
 to understand.  This patch refactors quite a bit, but with
 no real change in behaviour.

  * Split out TcIdSigInfo from TcSigInfo, as a separate type,
    like TcPatSynInfo.

  * Make TcIdSigInfo express more invariants by pushing the
    wildard info into TcIdSigBndr

  * Remove all special treatment of unification variables that arise
    from wildcards; so the TauTv of TcType.MetaInfo loses its Bool
    argument.

 A ton of konck on changes.  The result is significantly simpler, I think.
 }}}

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


More information about the ghc-tickets mailing list