summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GhciTags.hs1
-rw-r--r--ghc/InteractiveUI.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/ghc/GhciTags.hs b/ghc/GhciTags.hs
index b53a56f967..d5d40ad26c 100644
--- a/ghc/GhciTags.hs
+++ b/ghc/GhciTags.hs
@@ -6,6 +6,7 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
module GhciTags (createCTagsFileCmd, createETagsFileCmd) where
import GHC
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 323dc259c7..1fcae52db6 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -2,6 +2,7 @@
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
{-# OPTIONS -#include "Linker.h" #-}
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
-----------------------------------------------------------------------------
--
-- GHC Interactive User Interface