summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-10-15 17:36:14 -0400
committerJohn Ericson <git@JohnEricson.me>2020-01-25 12:17:38 -0500
commit3c33f126375da7ed991f77929e532b6f01227c38 (patch)
treefffda0801f0c69cf4528b6a9be9551450d132149
parentb3e5c678851ed73897b0eb337e656ff377d242c9 (diff)
downloadhaskell-3c33f126375da7ed991f77929e532b6f01227c38.tar.gz
Cinch -fno-warn-name-shadowing down to specific GHCi module
-rw-r--r--ghc/GHCi/UI.hs3
-rw-r--r--ghc/ghc-bin.cabal.in1
2 files changed, 3 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index f49c1834d3..92ac468985 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -10,6 +10,9 @@
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE ViewPatterns #-}
+{-# OPTIONS -fno-warn-name-shadowing #-}
+-- This module does a lot of it
+
-----------------------------------------------------------------------------
--
-- GHC Interactive User Interface
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index bc10724677..6899df979c 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -65,7 +65,6 @@ Executable ghc
exceptions == 0.10.*,
time >= 1.8 && < 1.10
CPP-Options: -DHAVE_INTERNAL_INTERPRETER
- GHC-Options: -fno-warn-name-shadowing
Other-Modules:
GHCi.Leak
GHCi.UI