Skip to content

<<loop>> when using variables in TH splice

When compiling the attached (which uses a variable 'x' in a TH splice in a data decl), the following error is given:

[1 of 1] Compiling Main ( b.hs, b.o )

b.hs:11:80:ghc: panic! (the 'impossible' happened)

(GHC version 7.0.3 for x86_64-unknown-linux):

<<loop>>

Trac metadata
Trac field Value
Version 7.0.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
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