#7681: Panic on quoting empty case -----------------------------+---------------------------------------------- Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Component: Template Haskell Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- Comment(by eir@…): commit 7b098b6009727a012cb1f3ff0ca51698d302cae1 {{{ Author: Richard Eisenberg <eir@cis.upenn.edu> Date: Mon Feb 11 23:07:25 2013 -0500 Fix Trac #7681. Removed checks for empty lists for case expressions and lambda-case. If -XEmptyCase is not enabled, compilation still fails (appropriately) in the renamer. Had to remove dead code from TrieMap to pass the validator. compiler/coreSyn/TrieMap.lhs | 38 +------------------------------------- compiler/deSugar/DsMeta.hs | 6 ++++-- compiler/hsSyn/Convert.lhs | 8 ++------ libraries/random | 2 +- 4 files changed, 8 insertions(+), 46 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7681#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler