TemplateHaskell: panic! (...) nameModule
The below code gives
ghc-6.0: panic! (the `impossible' happened, GHC version
6.0):
nameModule x {- v a36 -}
========================
module A where
my_id :: a -> a
my_id x = $( [| x |] )
===================
Trac metadata
Trac field | Value |
---|---|
Version | 6.0 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |