[Git][ghc/ghc][wip/T22745] More redundant imports

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Wed Jan 18 09:42:40 UTC 2023



Simon Peyton Jones pushed to branch wip/T22745 at Glasgow Haskell Compiler / GHC


Commits:
538166aa by Simon Peyton Jones at 2023-01-18T09:43:04+00:00
More redundant imports

- - - - -


4 changed files:

- compiler/GHC/Core/Opt/FloatIn.hs
- compiler/GHC/HsToCore/Pmc/Solver.hs
- compiler/GHC/Stg/InferTags/Rewrite.hs
- compiler/GHC/StgToJS/Expr.hs


Changes:

=====================================
compiler/GHC/Core/Opt/FloatIn.hs
=====================================
@@ -28,7 +28,7 @@ import GHC.Core.Utils
 import GHC.Core.FVs
 import GHC.Core.Type
 
-import GHC.Types.Basic      ( RecFlag(..), isRec, Levity(Unlifted) )
+import GHC.Types.Basic      ( RecFlag(..), isRec )
 import GHC.Types.Id         ( idType, isJoinId, isJoinId_maybe )
 import GHC.Types.Tickish
 import GHC.Types.Var


=====================================
compiler/GHC/HsToCore/Pmc/Solver.hs
=====================================
@@ -46,7 +46,6 @@ import GHC.Utils.Panic
 import GHC.Utils.Panic.Plain
 import GHC.Data.Bag
 
-import GHC.Types.Basic (Levity(..))
 import GHC.Types.CompleteMatch
 import GHC.Types.Unique.Set
 import GHC.Types.Unique.DSet


=====================================
compiler/GHC/Stg/InferTags/Rewrite.hs
=====================================
@@ -22,8 +22,7 @@ import GHC.Prelude
 
 import GHC.Builtin.PrimOps ( PrimOp(..) )
 import GHC.Types.Basic     ( CbvMark (..), isMarkedCbv
-                           , TopLevelFlag(..), isTopLevel
-                           , Levity(..) )
+                           , TopLevelFlag(..), isTopLevel )
 import GHC.Types.Id
 import GHC.Types.Name
 import GHC.Types.Unique.Supply


=====================================
compiler/GHC/StgToJS/Expr.hs
=====================================
@@ -51,7 +51,6 @@ import GHC.StgToJS.Utils
 import GHC.StgToJS.Stack
 import GHC.StgToJS.Ids
 
-import GHC.Types.Basic
 import GHC.Types.CostCentre
 import GHC.Types.Tickish
 import GHC.Types.Var.Set



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/538166aaaed4763373a6c8cea3edc86f8e9a42bf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/538166aaaed4763373a6c8cea3edc86f8e9a42bf
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/20230118/cd371157/attachment-0001.html>


More information about the ghc-commits mailing list