-fgenerics bug
I've discovered a simple fgenerics program that GHC doesn't like. Compiler output is as follows:
$ ghc --make gen-bug.hs Chasing modules from: gen-bug.hs Compiling Main ( gen-bug.hs, gen-bug.o ) ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
TcClassDecl: Type Application!
Please report this as a compiler bug. See:
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |