From: simonmar Date: Mon, 9 Oct 2000 09:19:16 +0000 (+0000) Subject: [project @ 2000-10-09 09:19:16 by simonmar] X-Git-Tag: Approximately_9120_patches~3668 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=19db5466ae2ce583b6e0a5e53db3556ba3dc739e;p=ghc-hetmet.git [project @ 2000-10-09 09:19:16 by simonmar] Re-add -fwarn-hi-shadowing now that we mostly remove duplicates from the import path. --- diff --git a/ghc/driver/Main.hs b/ghc/driver/Main.hs index c218970..c80e1b6 100644 --- a/ghc/driver/Main.hs +++ b/ghc/driver/Main.hs @@ -1,6 +1,6 @@ {-# OPTIONS -W -fno-warn-incomplete-patterns #-} ----------------------------------------------------------------------------- --- $Id: Main.hs,v 1.64 2000/10/05 13:27:54 simonmar Exp $ +-- $Id: Main.hs,v 1.65 2000/10/09 09:19:16 simonmar Exp $ -- -- GHC Driver program -- @@ -396,6 +396,7 @@ minusWallOpts = minusWOpts ++ [ "-fwarn-type-defaults" , "-fwarn-name-shadowing" , "-fwarn-missing-signatures" + , "-fwarn-hi-shadowing" ] data WarningState = W_default | W_ | W_all | W_not