From 98a12ec1d00cdeca31a52374aba76e0a13a79ff7 Mon Sep 17 00:00:00 2001 From: simonpj Date: Mon, 19 Dec 2005 11:00:59 +0000 Subject: [PATCH 1/1] [project @ 2005-12-19 11:00:59 by simonpj] Marginally improve the error message on a failure in DsMeta --- ghc/compiler/deSugar/DsMeta.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- -- 1.7.10.4