[GHC] #11334: GHC panic when calling typeOf on a promoted data constructor

GHC ghc-devs at haskell.org
Tue Mar 15 03:50:22 UTC 2016


#11334: GHC panic when calling typeOf on a promoted data constructor
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  goldfire
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.0.1-rc1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1757
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"84c773e1bc5c551b0f922c6fe9c70762d184a394/ghc" 84c773e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="84c773e1bc5c551b0f922c6fe9c70762d184a394"
 Fix #11334.

 Now we fail when trying to default non-*-kinded kind variables
 with -XNoPolyKinds.

 test case: dependent/should_fail/T11334

 [skip ci]
 }}}

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


More information about the ghc-tickets mailing list