Skip to content

template Haskell fails in GHCi

Prelude> let x = 1
Prelude> $([|x|])
ghc.exe: panic! (the `impossible' happened, GHC version 
6.2.2):
        nameModule x {- v a6XY -}

Please report it as a compiler bug to glasgow-haskell-
bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.
Trac metadata
Trac field Value
Version 6.2.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Template Haskell
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information