summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax/Extension.hs
diff options
context:
space:
mode:
authorromes <rodrigo.m.mesquita@gmail.com>2022-06-14 00:14:16 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-06 13:50:27 -0400
commit371c5ecf6898294f4e5bf91784dc794e7e16b7cc (patch)
tree85ff46ffd1af9b075d3291780058791167d3f32e /compiler/Language/Haskell/Syntax/Extension.hs
parentacc1816b9153f134a3308d13b90d67bfcb123d87 (diff)
downloadhaskell-371c5ecf6898294f4e5bf91784dc794e7e16b7cc.tar.gz
TTG for HsTyLit
Add TTG parameter to `HsTyLit` to move the GHC-specific `SourceText` fields to the extension point and out of the base AST. Progress towards #21592
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Extension.hs')
-rw-r--r--compiler/Language/Haskell/Syntax/Extension.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/Language/Haskell/Syntax/Extension.hs b/compiler/Language/Haskell/Syntax/Extension.hs
index 74cdbb07e0..7bc4685194 100644
--- a/compiler/Language/Haskell/Syntax/Extension.hs
+++ b/compiler/Language/Haskell/Syntax/Extension.hs
@@ -662,6 +662,13 @@ type family XWildCardTy x
type family XXType x
-- ---------------------------------------------------------------------
+-- HsTyLit type families
+type family XNumTy x
+type family XStrTy x
+type family XCharTy x
+type family XXTyLit x
+
+-- ---------------------------------------------------------------------
-- HsForAllTelescope type families
type family XHsForAllVis x
type family XHsForAllInvis x