[project @ 1998-01-28 11:01:55 by sof]
authorsof <unknown>
Wed, 28 Jan 1998 11:01:55 +0000 (11:01 +0000)
committersof <unknown>
Wed, 28 Jan 1998 11:01:55 +0000 (11:01 +0000)
renameSourceCode: don't emit warnings

ghc/compiler/rename/RnMonad.lhs

index f20b714..26a5753 100644 (file)
@@ -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) $