Skip to content

Panic on quoting empty case

With -XEmptyCase on,

Prelude Language.Haskell.TH> runQ [| case 0 of {} |]
ghc: panic! (the 'impossible' happened)
  (GHC version 7.7.20130209 for x86_64-unknown-linux):
	coreList: empty argument
Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information