
#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 simonpj):
Easier example is good (comment:11).
Hint: always debug a compiler built with `-DDEBUG`. My build shows
{{{
decideKindGeneralisationPlan
type: (Proxy
k1_aCf[tau:5]
('Other
k_aCn[tau:5]
f_aCo[tau:5]
a_aCp[tau:5] |>