From: simonpj Date: Mon, 19 Dec 2005 11:00:59 +0000 (+0000) Subject: [project @ 2005-12-19 11:00:59 by simonpj] X-Git-Tag: final_switch_to_darcs,_this_repo_is_now_live~80 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=98a12ec1d00cdeca31a52374aba76e0a13a79ff7;hp=93ba4d5bd8076849d966b2eb79185034ff509f7e;p=ghc-hetmet.git [project @ 2005-12-19 11:00:59 by simonpj] Marginally improve the error message on a failure in DsMeta --- diff --git a/ghc/compiler/deSugar/DsMeta.hs b/ghc/compiler/deSugar/DsMeta.hs index 40c0ce1..e5e079e 100644 --- a/ghc/compiler/deSugar/DsMeta.hs +++ b/ghc/compiler/deSugar/DsMeta.hs @@ -875,7 +875,7 @@ lookupBinder n = do { mb_val <- dsLookupMetaEnv n; case mb_val of Just (Bound x) -> return (coreVar x) - other -> pprPanic "Failed binder lookup:" (ppr n) } + other -> pprPanic "DsMeta: failed binder lookup when desugaring a TH bracket:" (ppr n) } -- Look up a name that is either locally bound or a global name --