From: sof Date: Wed, 28 Jan 1998 11:01:55 +0000 (+0000) Subject: [project @ 1998-01-28 11:01:55 by sof] X-Git-Tag: Approx_2487_patches~1046 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=54df74c2bed86545e56648e62c750b6e406e884e;p=ghc-hetmet.git [project @ 1998-01-28 11:01:55 by sof] renameSourceCode: don't emit warnings --- diff --git a/ghc/compiler/rename/RnMonad.lhs b/ghc/compiler/rename/RnMonad.lhs index f20b714..26a5753 100644 --- 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) $