Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optimizing mode
I get the following panic (with *two* modules, because it works when the 2 are merged) in optimising mode (-O):
/usr/bin/ghc -c -Wall -O -i. -fglasgow-exts Operation.hs -o Operation.o /usr/bin/ghc -c -Wall -O -i. -fglasgow-exts Definition.hs -o Definition.o ghc-6.4.1: panic! (the `impossible' happened, GHC version 6.4.1):
splitTyConApp a{tv a1nD}
It is probably due to the GADTs being used in these modules.
I have a stripped-down example, packaged in a tar.bz2, but I don't know how to attach it to this ticket
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |