summaryrefslogtreecommitdiff
path: root/ghc/GHCi/UI
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/GHCi/UI')
-rw-r--r--ghc/GHCi/UI/Info.hs2
-rw-r--r--ghc/GHCi/UI/Monad.hs1
2 files changed, 3 insertions, 0 deletions
diff --git a/ghc/GHCi/UI/Info.hs b/ghc/GHCi/UI/Info.hs
index 7466a28ce8..64db8ea219 100644
--- a/ghc/GHCi/UI/Info.hs
+++ b/ghc/GHCi/UI/Info.hs
@@ -4,6 +4,8 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ViewPatterns #-}
+{-# OPTIONS -fno-warn-name-shadowing #-}
+
-- | Get information on modules, expressions, and identifiers
module GHCi.UI.Info
( ModInfo(..)
diff --git a/ghc/GHCi/UI/Monad.hs b/ghc/GHCi/UI/Monad.hs
index 8c5baeee90..aec9149c4c 100644
--- a/ghc/GHCi/UI/Monad.hs
+++ b/ghc/GHCi/UI/Monad.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE CPP, FlexibleInstances, DeriveFunctor, DerivingVia #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
+{-# OPTIONS -fno-warn-name-shadowing #-}
-----------------------------------------------------------------------------
--