projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ba4d5
)
[project @ 2005-12-19 11:00:59 by simonpj]
author
simonpj
<unknown>
Mon, 19 Dec 2005 11:00:59 +0000
(11:00 +0000)
committer
simonpj
<unknown>
Mon, 19 Dec 2005 11:00:59 +0000
(11:00 +0000)
Marginally improve the error message on a failure in DsMeta
ghc/compiler/deSugar/DsMeta.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/deSugar/DsMeta.hs
b/ghc/compiler/deSugar/DsMeta.hs
index
40c0ce1
..
e5e079e
100644
(file)
--- 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
--