summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/ImpExp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Hs/ImpExp.hs')
-rw-r--r--compiler/GHC/Hs/ImpExp.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Hs/ImpExp.hs b/compiler/GHC/Hs/ImpExp.hs
index 891415c09f..7282b724cf 100644
--- a/compiler/GHC/Hs/ImpExp.hs
+++ b/compiler/GHC/Hs/ImpExp.hs
@@ -124,7 +124,7 @@ type instance XCImportDecl GhcTc = NoExtField
type instance XXImportDecl (GhcPass _) = NoExtCon
-type instance Anno ModuleName = SrcSpan
+type instance Anno ModuleName = SrcSpanAnnA
type instance Anno [LocatedA (IE (GhcPass p))] = SrcSpanAnnL
-- ---------------------------------------------------------------------
@@ -146,7 +146,7 @@ simpleImportDecl :: ModuleName -> ImportDecl GhcPs
simpleImportDecl mn = ImportDecl {
ideclExt = noAnn,
ideclSourceSrc = NoSourceText,
- ideclName = noLoc mn,
+ ideclName = noLocA mn,
ideclPkgQual = NoRawPkgQual,
ideclSource = NotBoot,
ideclSafe = False,