#5968: GHC Panic: "AThing evaluated unexpectedly"
------------------------------+---------------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Component: Template Haskell
Version: 7.5 | Keywords: TemplateHaskell
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5968>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs