Ticket #5968 (closed bug: fixed)
GHC Panic: "AThing evaluated unexpectedly"
Description
Using an unmodified build from March 13, 2012, I compiled the following:
{-# LANGUAGE TemplateHaskell #-}
data Bar a = Bar $( [t| a |] )
I got the following panic:
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.5.20120313 for x86_64-unknown-linux):
AThing evaluated unexpectedly tcTyVar a{tv aKM}
I observed this exact same panic on a modified 3/25/12 build.
Change History
Note: See
TracTickets for help on using
tickets.
