GHCi crash on invalid input
I know its incorrect haskell code but after entering following sequence of commands, ghci seems to be crashing.
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
λ > data R = R { x1 :: Int, x2 :: Int, x3 :: Int } deriving Show
λ > data R a = State { x1 :: Int, x2 :: Int, x3 :: Int } a
ghc: panic! (the 'impossible' happened)
(GHC version 7.6.3 for x86_64-unknown-linux):
tc_hs_type: record
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I hope it would be helpful. Thanks!
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | asl.pavel@gmail.com |
Operating system | |
Architecture |