External Core needs love
{-# LANGUAGE GADTs #-}
data T a b where
T1 :: a -> b -> T [a] (a,b)
main = putStrLn ":("
and then "ghc this.hs -fext-core" results in
>ghc core-sandbox.hs -fext-core
ghc core-sandbox.hs -fext-core
[1 of 1] Compiling Main ( core-sandbox.hs, core-sandbox.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.2.1 for i386-unknown-mingw32):
make_exp (App _ (Coercion _))
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 7.2.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Windows |
Architecture | x86_64 (amd64) |