#143, turn of name shadowing warning
authorNeil Mitchell <ndmitchell@gmail.com>
Sun, 10 Jan 2016 20:34:15 +0000 (20:34 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Sun, 10 Jan 2016 20:34:15 +0000 (20:34 +0000)
.ghci
build.bat

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