diff options
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/GHCi/UI.hs | 3 | ||||
-rw-r--r-- | ghc/GHCi/UI/Info.hs | 2 | ||||
-rw-r--r-- | ghc/GHCi/UI/Monad.hs | 1 | ||||
-rw-r--r-- | ghc/ghc-bin.cabal.in | 1 |
4 files changed, 6 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs index 57d5c528b8..da3b4d5e2f 100644 --- a/ghc/GHCi/UI.hs +++ b/ghc/GHCi/UI.hs @@ -11,6 +11,9 @@ {-# LANGUAGE ViewPatterns #-} {-# LANGUAGE TypeFamilies #-} +{-# OPTIONS -fno-warn-name-shadowing #-} +-- This module does a lot of it + ----------------------------------------------------------------------------- -- -- GHC Interactive User Interface 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 #-} ----------------------------------------------------------------------------- -- diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in index 1518a8debc..7897e7c600 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 |