[GHC] #12762: ASSERT failures on HEAD following typechecker refactoring

GHC ghc-devs at haskell.org
Mon Oct 24 16:32:07 UTC 2016


#12762: ASSERT failures on HEAD following typechecker refactoring
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      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:"08ba691ad55f30e67466628125244392c48ce1ab/ghc" 08ba691/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="08ba691ad55f30e67466628125244392c48ce1ab"
 Take account of kinds in promoteTcType

 One of the ASSERT failures in Trac #12762, namely the one for T4439,
 showed that I had not dealt correctly with promoting the kind of
 a type in promoteTcType.

 Happily I could fix this by simplifying InferRes (eliminating the
 ir_kind field), so things get better. And the ASSERT is fixed.
 }}}

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


More information about the ghc-tickets mailing list