[Git][ghc/ghc][wip/romes/graph-compact-easy] unused imports
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Fri Jan 3 16:15:28 UTC 2025
Rodrigo Mesquita pushed to branch wip/romes/graph-compact-easy at Glasgow Haskell Compiler / GHC
Commits:
4d40680b by Rodrigo Mesquita at 2025-01-03T16:14:45+00:00
unused imports
- - - - -
5 changed files:
- compiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Driver/Env.hs
- compiler/GHC/Unit/Env.hs
- compiler/GHC/Unit/Home/Graph.hs
- compiler/GHC/Unit/Home/PackageTable.hs
Changes:
=====================================
compiler/GHC/Core/Opt/Pipeline.hs
=====================================
@@ -63,7 +63,6 @@ import GHC.Types.Var ( Var )
import Control.Monad
import qualified GHC.LanguageExtensions as LangExt
import GHC.Unit.Module
-import qualified GHC.Unit.Env as UnitEnv
{-
************************************************************************
=====================================
compiler/GHC/Driver/Env.hs
=====================================
@@ -62,7 +62,6 @@ import qualified GHC.Unit.Home.Graph as HUG
import GHC.Unit.Env as UnitEnv
import GHC.Unit.External
-import GHC.Types.Annotations ( AnnEnv, mkAnnEnv, plusAnnEnv )
import GHC.Types.Error ( emptyMessages, Messages )
import GHC.Types.Name
import GHC.Types.Name.Env
@@ -79,7 +78,6 @@ import GHC.Utils.Logger
import GHC.Core.Rules
import GHC.Types.Annotations
-import GHC.Types.CompleteMatch
import GHC.Core.InstEnv
import GHC.Core.FamInstEnv
import GHC.Builtin.Names
=====================================
compiler/GHC/Unit/Env.hs
=====================================
@@ -114,7 +114,6 @@ import GHC.Unit.External
import GHC.Unit.State
import GHC.Unit.Home
import GHC.Unit.Types
-import GHC.Unit.Module.Graph
import GHC.Unit.Home.ModInfo
import GHC.Unit.Home.PackageTable
import GHC.Unit.Home.Graph (HomeUnitGraph, HomeUnitEnv)
@@ -128,7 +127,6 @@ import GHC.Driver.DynFlags
import GHC.Utils.Outputable
import GHC.Utils.Panic
-import GHC.Core.Rules
import GHC.Types.Annotations
import GHC.Types.CompleteMatch
import GHC.Core.InstEnv
=====================================
compiler/GHC/Unit/Home/Graph.hs
=====================================
@@ -71,7 +71,6 @@ import GHC.Unit.Home
import GHC.Unit.Home.ModInfo
import GHC.Unit.Home.PackageTable
import GHC.Unit.Module
-import GHC.Unit.Module.Graph
import GHC.Unit.Module.ModIface
import GHC.Unit.State
import GHC.Utils.Outputable
@@ -85,11 +84,9 @@ import qualified Data.Set as Set
import GHC.Data.Maybe
import GHC.Data.Graph.Directed
-import GHC.Core.Rules
import GHC.Types.Annotations
import GHC.Types.CompleteMatch
import GHC.Core.InstEnv
-import GHC.Types.Name.Env
-- | Get all 'CompleteMatches' (arising from COMPLETE pragmas) present across
=====================================
compiler/GHC/Unit/Home/PackageTable.hs
=====================================
@@ -97,7 +97,6 @@ import qualified Data.Set as Set
import GHC.Core.FamInstEnv
import GHC.Core.InstEnv
-import GHC.Core.Rules
import GHC.Linker.Types
import GHC.Types.Annotations
import GHC.Types.CompleteMatch
@@ -105,11 +104,9 @@ import GHC.Types.Unique.DFM
import GHC.Unit.Home.ModInfo
import GHC.Unit.Module
import GHC.Unit.Module.Deps
-import GHC.Unit.Module.Graph
import GHC.Unit.Module.ModDetails
import GHC.Unit.Module.ModIface
import GHC.Utils.Outputable
-import GHC.Builtin.Names (gHC_PRIM)
import GHC.Types.Unique (getUnique, getKey)
import qualified GHC.Data.Word64Set as W64
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4d40680b3a75ff89a8496a4d429dfdbc34ad029e
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4d40680b3a75ff89a8496a4d429dfdbc34ad029e
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250103/ba42b89c/attachment-0001.html>
More information about the ghc-commits
mailing list