Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Jun 30, 2020
1 parent fdea3f0 commit 8b2570e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/Development/IDE/Core/Compile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import GhcPlugins as GHC hiding (fst3, (<>))
import qualified HeaderInfo as Hdr
import HscMain (hscInteractive, hscSimplify)
import MkIface
import NameCache
import StringBuffer as SB
import TcRnMonad (initIfaceLoad, tcg_th_coreplugins)
import TcIface (typecheckIface)
Expand Down
1 change: 0 additions & 1 deletion src/Development/IDE/Core/Shake.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ import Data.Tuple.Extra
import Data.Unique
import Development.IDE.Core.Debouncer
import Development.IDE.GHC.Compat ( NameCacheUpdater(..), upNameCache )
import Development.IDE.Core.RuleTypes
import Development.IDE.Core.PositionMapping
import Development.IDE.Types.Logger hiding (Priority)
import qualified Development.IDE.Types.Logger as Logger
Expand Down
8 changes: 0 additions & 8 deletions src/Development/IDE/GHC/Compat.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module Development.IDE.GHC.Compat(
HieFile(..),
NameCacheUpdater(..),
hieExportNames,
hie_module,
mkHieFile,
writeHieFile,
readHieFile,
Expand Down Expand Up @@ -74,16 +73,11 @@ import Avail
import ErrUtils (ErrorMessages)
import FastString (FastString)

#if MIN_GHC_API_VERSION(8,10,0)
import HscTypes (mi_mod_hash)
#endif

#if MIN_GHC_API_VERSION(8,8,0)
import Development.IDE.GHC.HieAst (mkHieFile)
import Development.IDE.GHC.HieBin
import HieUtils
import HieTypes
import IfaceEnv

supportsHieFiles :: Bool
supportsHieFiles = True
Expand All @@ -95,7 +89,6 @@ hieExportNames = nameListFromAvails . hie_exports

#if MIN_GHC_API_VERSION(8,6,0)
import BinIface
import Data.IORef
import IfaceEnv
#else
import System.IO.Error
Expand All @@ -104,7 +97,6 @@ import System.IO.Error
import Binary
import Control.Exception (catch)
import Data.ByteString (ByteString)
import GhcPlugins hiding (ModLocation)
import TcRnTypes
import System.IO
import Foreign.ForeignPtr
Expand Down

0 comments on commit 8b2570e

Please sign in to comment.