Panic in a user Template Haskell function is wrongly reported as a GHC bug
GhcBangBug.hs:1:1:ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for x86_64-unknown-linux):
Could not convert (Strict,Type) to BangType
(Unpacked,ConT GHC.Types.Int) Language/Haskell/Convert.hs:(64,5)-(65,42): Non-exhaustive patterns in function conv
See attached test file for further information.
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 |