ghc panic on show
--- ghccrash.hs main = do
putStrLn "Minimal compiler bug example"
data VariationInfo = Variation{
somefield :: Bool } deriving (show) -- set small s in show to crash ghc 7.4.1
--- OUTPUT: D:\Prosjekt.FE\Haskell>ghc ghccrash.hs [1 of 1] Compiling Main ( ghccrash.hs, ghccrash.o ) ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for i386-unknown-mingw32):
nameModule show{tv a9M}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |