#4220: EmptyDataDecls + DeriveFunctor == Panic!
---------------------------------+------------------------------------------
Reporter: conal | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.1 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Compile-time crash
---------------------------------+------------------------------------------
I get "ghc: panic! (the 'impossible' happened)" from GHC 6.12.1 with a
simple two-line program
{{{
{-# LANGUAGE EmptyDataDecls, DeriveFunctor #-}
data Void a deriving Functor
}}}
Also [http://hpaste.org/fastcgi/hpaste.fcgi/view?id=28212 on hpaste].
GHC says
{{{
ghc: panic! (the 'impossible' happened)
(GHC version 6.12.1 for i386-apple-darwin):
TcPat.checkArgs
}}}
I asked on the #ghc IRC room and learned that
> !ClaudiusMaximus: conal: ghc-6.12.3 here, same error. (GHC version
6.12.3 for x86_64-unknown-linux)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4220>
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