Skip to content

Exception in :cmd command can terminate GHCi

watashi % ghci -ignore-dot-ghci
GHCi, version 7.10.1: http://www.haskell.org/ghc/  :? for help
Prelude> :cmd return $ head []
ghc: panic! (the 'impossible' happened)
  (GHC version 7.10.1 for i386-unknown-linux):
	Prelude.head: empty list

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 7.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information