[GHC] #7681: Panic on quoting empty case

GHC cvs-ghc at haskell.org
Mon Feb 11 15:30:53 CET 2013


#7681: Panic on quoting empty case
-----------------------------+----------------------------------------------
Reporter:  monoidal          |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.7               |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7681>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list