[Git][ghc/ghc][master] Changed import from Ghc. module to L.H.S module
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Oct 16 03:44:49 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
e59fe5c6 by Hassan Al-Awwadi at 2024-10-15T08:25:33+00:00
Changed import from Ghc. module to L.H.S module
Progresses #21592
For some reason we still imported GHC.Types.Fixity when the definitino of Fixity and LexicalFixity have already been moved to Language.Haskell.Syntax.Basic. This fixes that for
- - - - -
2 changed files:
- compiler/Language/Haskell/Syntax/Binds.hs
- compiler/Language/Haskell/Syntax/Decls.hs
Changes:
=====================================
compiler/Language/Haskell/Syntax/Binds.hs
=====================================
@@ -31,10 +31,9 @@ import {-# SOURCE #-} Language.Haskell.Syntax.Pat
import Language.Haskell.Syntax.Extension
import Language.Haskell.Syntax.Type
+import Language.Haskell.Syntax.Basic ( Fixity )
-import GHC.Types.Fixity (Fixity)
import GHC.Types.Basic (InlinePragma)
-
import GHC.Data.BooleanFormula (LBooleanFormula)
import GHC.Types.SourceText (StringLiteral)
=====================================
compiler/Language/Haskell/Syntax/Decls.hs
=====================================
@@ -94,13 +94,12 @@ import {-# SOURCE #-} Language.Haskell.Syntax.Expr
import Language.Haskell.Syntax.Binds
import Language.Haskell.Syntax.Extension
import Language.Haskell.Syntax.Type
-import Language.Haskell.Syntax.Basic (Role)
+import Language.Haskell.Syntax.Basic (Role, LexicalFixity)
import Language.Haskell.Syntax.Specificity (Specificity)
import GHC.Types.Basic (TopLevelFlag, OverlapMode, RuleName, Activation
,TyConFlavour(..), TypeOrData(..))
import GHC.Types.ForeignCall (CType, CCallConv, Safety, Header, CLabelString, CCallTarget, CExportSpec)
-import GHC.Types.Fixity (LexicalFixity)
import GHC.Unit.Module.Warnings (WarningTxt)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e59fe5c6bd914f2da6c7d8bdfa87aafdc2f9d6e8
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e59fe5c6bd914f2da6c7d8bdfa87aafdc2f9d6e8
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/20241015/b21822f4/attachment-0001.html>
More information about the ghc-commits
mailing list