summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-02 11:43:03 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-16 23:53:24 -0400
commit18a346a4b5a02b8c62e8eedb91b35c2d8e754b96 (patch)
tree59121ffd5a46c1987a184db3842a3089f6250d11 /compiler/parser
parent818b3c38e7548f4720815f76969238d82c9650f7 (diff)
downloadhaskell-18a346a4b5a02b8c62e8eedb91b35c2d8e754b96.tar.gz
Modules: Core (#13009)
Update submodule: haddock
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y10
-rw-r--r--compiler/parser/RdrHsSyn.hs10
2 files changed, 10 insertions, 10 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 26c56d062b..88422f9b3f 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -48,8 +48,8 @@ import qualified Prelude
import GHC.Hs
-- compiler/main
-import GHC.Driver.Phases ( HscSource(..) )
-import GHC.Driver.Types ( IsBootInterface, WarningTxt(..) )
+import GHC.Driver.Phases ( HscSource(..) )
+import GHC.Driver.Types ( IsBootInterface, WarningTxt(..) )
import GHC.Driver.Session
import GHC.Driver.Backpack.Syntax
import UnitInfo
@@ -64,14 +64,14 @@ import Outputable
-- compiler/basicTypes
import RdrName
import OccName ( varName, dataName, tcClsName, tvName, startsWithUnderscore )
-import DataCon ( DataCon, dataConName )
+import GHC.Core.DataCon ( DataCon, dataConName )
import SrcLoc
import Module
import BasicTypes
-- compiler/types
-import Type ( funTyCon )
-import Class ( FunDep )
+import GHC.Core.Type ( funTyCon )
+import GHC.Core.Class ( FunDep )
-- compiler/parser
import RdrHsSyn
diff --git a/compiler/parser/RdrHsSyn.hs b/compiler/parser/RdrHsSyn.hs
index 1be2c76864..599846398b 100644
--- a/compiler/parser/RdrHsSyn.hs
+++ b/compiler/parser/RdrHsSyn.hs
@@ -104,16 +104,16 @@ module RdrHsSyn (
import GhcPrelude
import GHC.Hs -- Lots of it
-import TyCon ( TyCon, isTupleTyCon, tyConSingleDataCon_maybe )
-import DataCon ( DataCon, dataConTyCon )
-import ConLike ( ConLike(..) )
-import CoAxiom ( Role, fsFromRole )
+import GHC.Core.TyCon ( TyCon, isTupleTyCon, tyConSingleDataCon_maybe )
+import GHC.Core.DataCon ( DataCon, dataConTyCon )
+import GHC.Core.ConLike ( ConLike(..) )
+import GHC.Core.Coercion.Axiom ( Role, fsFromRole )
import RdrName
import Name
import BasicTypes
import Lexer
import Lexeme ( isLexCon )
-import Type ( TyThing(..), funTyCon )
+import GHC.Core.Type ( TyThing(..), funTyCon )
import TysWiredIn ( cTupleTyConName, tupleTyCon, tupleDataCon,
nilDataConName, nilDataConKey,
listTyConName, listTyConKey, eqTyCon_RDR,