summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-03-25 20:06:28 +0000
committerBen Gamari <ben@smart-cactus.org>2021-03-29 16:17:35 -0400
commit514f4ac336bc91eaa095549329d8eb4efd6b48e6 (patch)
tree1e306b81fe6b8117bc12c3b3e9abffb8e141346c /compiler/Language
parente65d5df506dea4d2089dee5c9725bb1b06e28182 (diff)
downloadhaskell-514f4ac336bc91eaa095549329d8eb4efd6b48e6.tar.gz
EPA : Rename AddApiAnn to AddEpAnn
As port of the process of migrating naming from API Annotations to exact print annotations (EPA) Follow-up from !2418, see #19579 (cherry picked from commit 55d935ecd911b66d32431c328386b48f52e2d1d7)
Diffstat (limited to 'compiler/Language')
-rw-r--r--compiler/Language/Haskell/Syntax/Type.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Language/Haskell/Syntax/Type.hs b/compiler/Language/Haskell/Syntax/Type.hs
index 6dc312859d..63b5bb353b 100644
--- a/compiler/Language/Haskell/Syntax/Type.hs
+++ b/compiler/Language/Haskell/Syntax/Type.hs
@@ -917,9 +917,9 @@ data HsTyLit
data HsArrow pass
= HsUnrestrictedArrow IsUnicodeSyntax
-- ^ a -> b or a → b
- | HsLinearArrow IsUnicodeSyntax (Maybe AddApiAnn)
+ | HsLinearArrow IsUnicodeSyntax (Maybe AddEpAnn)
-- ^ a %1 -> b or a %1 → b, or a ⊸ b
- | HsExplicitMult IsUnicodeSyntax (Maybe AddApiAnn) (LHsType pass)
+ | HsExplicitMult IsUnicodeSyntax (Maybe AddEpAnn) (LHsType pass)
-- ^ a %m -> b or a %m → b (very much including `a %Many -> b`!
-- This is how the programmer wrote it). It is stored as an
-- `HsType` so as to preserve the syntax as written in the