
#11334: GHC panic when calling typeOf on a promoted data constructor -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: bgamari Type: bug | Status: new 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 goldfire): `Proxy :: Proxy 'Proxy` should also be an error in my "issue an error" option. It's a use of a promoted data constructor of a datatype whose type parameters are not all `*`. To be honest, `-XNoPolyKinds` always confuses me now. :) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11334#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler