[commit: ghc] wip/nfs-locking: #143, turn of name shadowing warning (f89a75f)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:48:43 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/f89a75f6730f643acc7002ee940803d01f1bda56/ghc

>---------------------------------------------------------------

commit f89a75f6730f643acc7002ee940803d01f1bda56
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Jan 10 20:34:15 2016 +0000

    #143, turn of name shadowing warning


>---------------------------------------------------------------

f89a75f6730f643acc7002ee940803d01f1bda56
 .ghci     | 2 +-
 build.bat | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ghci b/.ghci
index 1fe85b3..2f24ebe 100644
--- a/.ghci
+++ b/.ghci
@@ -1,2 +1,2 @@
-:set -Wall -isrc
+:set -Wall -fno-warn-name-shadowing -isrc
 :load Main
diff --git a/build.bat b/build.bat
index 07e355a..41b7877 100644
--- a/build.bat
+++ b/build.bat
@@ -2,6 +2,7 @@
 
 @set ghcArgs=--make            ^
              -Wall             ^
+             -fno-warn-name-shadowing ^
              src/Main.hs       ^
              -isrc             ^
              -rtsopts          ^



More information about the ghc-commits mailing list