summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Expr.hs
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-03-25 21:46:56 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-31 11:13:28 -0400
commit49bc1e9ec854e571dfa78ac43565073586579f31 (patch)
tree4cf1ea1b7f53581ae57a493ba757cf1130585a03 /compiler/GHC/Hs/Expr.hs
parentd03005e642710d0f1f78757292e0fe65287e5f0a (diff)
downloadhaskell-49bc1e9ec854e571dfa78ac43565073586579f31.tar.gz
EPA : rename AnnAnchor to EpaAnchor
Follow-up from !2418, see #19579
Diffstat (limited to 'compiler/GHC/Hs/Expr.hs')
-rw-r--r--compiler/GHC/Hs/Expr.hs30
1 files changed, 15 insertions, 15 deletions
diff --git a/compiler/GHC/Hs/Expr.hs b/compiler/GHC/Hs/Expr.hs
index f9782756bd..436da995a7 100644
--- a/compiler/GHC/Hs/Expr.hs
+++ b/compiler/GHC/Hs/Expr.hs
@@ -207,14 +207,14 @@ could only do that if the extension field was strict (#18764)
-- API Annotations types
data EpAnnHsCase = EpAnnHsCase
- { hsCaseAnnCase :: AnnAnchor
- , hsCaseAnnOf :: AnnAnchor
+ { hsCaseAnnCase :: EpaAnchor
+ , hsCaseAnnOf :: EpaAnchor
, hsCaseAnnsRest :: [AddEpAnn]
} deriving Data
data EpAnnUnboundVar = EpAnnUnboundVar
- { hsUnboundBackquotes :: (AnnAnchor, AnnAnchor)
- , hsUnboundHole :: AnnAnchor
+ { hsUnboundBackquotes :: (EpaAnchor, EpaAnchor)
+ , hsUnboundHole :: EpaAnchor
} deriving Data
type instance XVar (GhcPass _) = NoExtField
@@ -378,27 +378,27 @@ data XXExprGhcTc
data AnnExplicitSum
= AnnExplicitSum {
- aesOpen :: AnnAnchor,
- aesBarsBefore :: [AnnAnchor],
- aesBarsAfter :: [AnnAnchor],
- aesClose :: AnnAnchor
+ aesOpen :: EpaAnchor,
+ aesBarsBefore :: [EpaAnchor],
+ aesBarsAfter :: [EpaAnchor],
+ aesClose :: EpaAnchor
} deriving Data
data AnnsLet
= AnnsLet {
- alLet :: AnnAnchor,
- alIn :: AnnAnchor
+ alLet :: EpaAnchor,
+ alIn :: EpaAnchor
} deriving Data
data AnnFieldLabel
= AnnFieldLabel {
- afDot :: Maybe AnnAnchor
+ afDot :: Maybe EpaAnchor
} deriving Data
data AnnProjection
= AnnProjection {
- apOpen :: AnnAnchor, -- ^ '('
- apClose :: AnnAnchor -- ^ ')'
+ apOpen :: EpaAnchor, -- ^ '('
+ apClose :: EpaAnchor -- ^ ')'
} deriving Data
-- ---------------------------------------------------------------------
@@ -411,7 +411,7 @@ type instance XXHsFieldLabel (GhcPass _) = NoExtCon
type instance XPresent (GhcPass _) = EpAnn
-type instance XMissing GhcPs = EpAnn' AnnAnchor
+type instance XMissing GhcPs = EpAnn' EpaAnchor
type instance XMissing GhcRn = NoExtField
type instance XMissing GhcTc = Scaled Type
@@ -1186,7 +1186,7 @@ type instance XXGRHSs (GhcPass _) _ = NoExtCon
data GrhsAnn
= GrhsAnn {
- ga_vbar :: Maybe AnnAnchor, -- TODO:AZ do we need this?
+ ga_vbar :: Maybe EpaAnchor, -- TODO:AZ do we need this?
ga_sep :: AddEpAnn -- ^ Match separator location
} deriving (Data)