[Git][ghc/ghc][wip/class-layout-info] Remove unused imports

Vladislav Zavialov (@int-index) gitlab at gitlab.haskell.org
Fri Sep 16 14:32:56 UTC 2022



Vladislav Zavialov pushed to branch wip/class-layout-info at Glasgow Haskell Compiler / GHC


Commits:
a48d9b05 by Vladislav Zavialov at 2022-09-16T17:32:51+03:00
Remove unused imports

- - - - -


4 changed files:

- compiler/Language/Haskell/Syntax/Concrete.hs
- compiler/Language/Haskell/Syntax/Decls.hs
- compiler/Language/Haskell/Syntax/Extension.hs
- compiler/Language/Haskell/Syntax/Pat.hs


Changes:

=====================================
compiler/Language/Haskell/Syntax/Concrete.hs
=====================================
@@ -13,7 +13,7 @@ module Language.Haskell.Syntax.Concrete
   ) where
 
 import GHC.Prelude
-import GHC.TypeLits (Symbol, KnownSymbol, symbolVal)
+import GHC.TypeLits (Symbol, KnownSymbol)
 import Data.Data
 import Language.Haskell.Syntax.Extension
 


=====================================
compiler/Language/Haskell/Syntax/Decls.hs
=====================================
@@ -97,7 +97,6 @@ import Language.Haskell.Syntax.Binds
 import Language.Haskell.Syntax.Concrete
 import Language.Haskell.Syntax.Extension
 import Language.Haskell.Syntax.Type
-import Language.Haskell.Syntax.Extension
 import Language.Haskell.Syntax.Basic (Role)
 
 import GHC.Types.Basic (TopLevelFlag, OverlapMode, RuleName, Activation)


=====================================
compiler/Language/Haskell/Syntax/Extension.hs
=====================================
@@ -22,8 +22,6 @@ module Language.Haskell.Syntax.Extension where
 -- This module captures the type families to precisely identify the extension
 -- points for GHC.Hs syntax
 
-import GHC.TypeLits (Symbol, KnownSymbol)
-
 #if MIN_VERSION_GLASGOW_HASKELL(9,3,0,0)
 import Data.Type.Equality (type (~))
 #endif


=====================================
compiler/Language/Haskell/Syntax/Pat.hs
=====================================
@@ -38,7 +38,6 @@ import Language.Haskell.Syntax.Basic
 import Language.Haskell.Syntax.Lit
 import Language.Haskell.Syntax.Concrete
 import Language.Haskell.Syntax.Extension
-import Language.Haskell.Syntax.Lit
 import Language.Haskell.Syntax.Type
 
 -- libraries:



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a48d9b05c5a86eac2b55469b9889533040d0ea0f
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/20220916/6ecd2392/attachment-0001.html>


More information about the ghc-commits mailing list