GHC panics while trying to derive Generic for GADT with kind-lifted phantom parameter
This may be a duplicate of #5884 (closed)
Compiling the attached file gives the following crash:
ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for i386-apple-darwin):
tcTyVarDetails ( tag{tv ae8} [tv] :: main:Main.ExprTag{tc rdD} )
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |