diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-10-15 17:36:14 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-09-19 15:49:57 -0400 |
commit | d05d13ce6b5be54f3aa1c23f4377920a4965fc50 (patch) | |
tree | c81e18d9211157dfc1e3f66bd3a8aad1651c61d1 /ghc/GHCi/UI | |
parent | 9c1b8ad931e7bfabe521bc17e74ac9869b21a748 (diff) | |
download | haskell-d05d13ce6b5be54f3aa1c23f4377920a4965fc50.tar.gz |
Cinch -fno-warn-name-shadowing down to specific GHCi module
Diffstat (limited to 'ghc/GHCi/UI')
-rw-r--r-- | ghc/GHCi/UI/Info.hs | 2 | ||||
-rw-r--r-- | ghc/GHCi/UI/Monad.hs | 1 |
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 #-} ----------------------------------------------------------------------------- -- |