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

GHC ghc-devs at haskell.org
Sat Jan 9 22:58:39 UTC 2016


#11334: GHC panic when calling typeOf on a promoted data constructor
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.1
  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:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * differential:   => Phab:D1757


Comment:

 I still haven't figured out what's going on with `typeOf (Proxy :: Proxy
 'Compose)`, but we can at least be comforted by the fact that executing it
 wasn't possible before GHC 8.0, since `Compose` is poly-kinded. The
 "regression" here is that `*` now shows up as `TYPE 'Lifted`, which I
 don't think is desirable. I've opened Phab:D1757 to fix that.

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


More information about the ghc-tickets mailing list