[GHC] #15797: GHC panic using visible kind application

GHC ghc-devs at haskell.org
Thu Nov 1 21:42:57 UTC 2018


#15797: GHC panic using visible kind application
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
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 Richard Eisenberg <rae@…>):

 In [changeset:"74ed9c1c1b26971133c7166663b9c966d2eaca08/ghc"
 74ed9c1c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="74ed9c1c1b26971133c7166663b9c966d2eaca08"
 Actually fail in failIfEmitsConstraints

 The function TcHsType.failIfEmitsConstraints says that it fails.
 It even does so in its name. But it didn't! It *reported* constraints
 but didn't fail. Now it does.

 This is important in tcHsClsInstType; see the comments therein.

 This was discovered while looking at #15797, but that ticket
 requires visible kind application to exhibit the bug; the test
 case will come with the patch for #12045.
 }}}

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


More information about the ghc-tickets mailing list