Skip to content

GHC Panic when using unbound type variables created with newName in Template Haskell

I received the following GHC panic report: ghc: panic! (the 'impossible' happened)

(GHC version 7.4.1 for x86_64-apple-darwin):

nameModule n_a2kf{tv}

I was trying to generate the declaration of a GADT using Template Haskell when it happened.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Template Haskell
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture x86_64 (amd64)
Edited by Richard Eisenberg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information