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:
d1ac412
)
[project @ 1998-01-28 11:01:55 by sof]
author
sof
<unknown>
Wed, 28 Jan 1998 11:01:55 +0000
(11:01 +0000)
committer
sof
<unknown>
Wed, 28 Jan 1998 11:01:55 +0000
(11:01 +0000)
renameSourceCode: don't emit warnings
ghc/compiler/rename/RnMonad.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnMonad.lhs
b/ghc/compiler/rename/RnMonad.lhs
index
f20b714
..
26a5753
100644
(file)
--- a/
ghc/compiler/rename/RnMonad.lhs
+++ b/
ghc/compiler/rename/RnMonad.lhs
@@
-354,8
+354,10
@@
renameSourceCode mod_name name_supply m
(if not (isEmptyBag errs) then
pprTrace "Urk! renameSourceCode found errors" (display errs)
+#ifdef DEBUG
else if not (isEmptyBag warns) then
pprTrace "Urk! renameSourceCode found warnings" (display warns)
+#endif
else
id) $