diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2021-04-01 21:51:17 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-23 18:53:50 -0400 |
commit | f8c6fce4a09762adea6009540e523c2b984b2978 (patch) | |
tree | fb0898eadf884f4320e5a05f783f6308663350e9 /testsuite/tests/parser | |
parent | d82d38239f232c3970a8641bb6d47d436e3cbc11 (diff) | |
download | haskell-f8c6fce4a09762adea6009540e523c2b984b2978.tar.gz |
HsToken for HsPar, ParPat, HsCmdPar (#19523)
This patch is a first step towards a simpler design for exact printing.
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r-- | testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr | 76 |
1 files changed, 68 insertions, 8 deletions
diff --git a/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr b/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr index 5302fd7e7b..f8c11891ba 100644 --- a/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr +++ b/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr @@ -108,6 +108,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -136,7 +139,10 @@ [])) (HsStringPrim (NoSourceText) - "T"))))))))) + "T"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsLit @@ -262,6 +268,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -290,7 +299,10 @@ [])) (HsStringPrim (NoSourceText) - "'MkT"))))))))) + "'MkT"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsLit @@ -416,6 +428,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -444,7 +459,10 @@ [])) (HsStringPrim (NoSourceText) - "Peano"))))))))) + "Peano"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsLit @@ -570,6 +588,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -598,7 +619,10 @@ [])) (HsStringPrim (NoSourceText) - "'Zero"))))))))) + "'Zero"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsLit @@ -724,6 +748,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -752,7 +779,10 @@ [])) (HsStringPrim (NoSourceText) - "'Succ"))))))))) + "'Succ"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsLit @@ -1160,6 +1190,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -1205,6 +1238,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -1250,6 +1286,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -1303,7 +1342,16 @@ (ConLikeTc ({abstract:ConLike}) [] - [])))))))))))))))))))))) + [])))))))) + (L + (EpAnnNotUsed) + (HsTok)))))) + (L + (EpAnnNotUsed) + (HsTok)))))) + (L + (EpAnnNotUsed) + (HsTok)))))))) ,(L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (VarBind @@ -1394,6 +1442,9 @@ (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -1422,12 +1473,18 @@ [])) (HsStringPrim (NoSourceText) - "main"))))))))) + "main"))))) + (L + (EpAnnNotUsed) + (HsTok)))))) (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsPar (EpAnnNotUsed) (L + (EpAnnNotUsed) + (HsTok)) + (L (SrcSpanAnn (EpAnnNotUsed) { <no location info> }) (HsApp (EpAnn @@ -1456,7 +1513,10 @@ [])) (HsStringPrim (NoSourceText) - "DumpTypecheckedAst"))))))))))) + "DumpTypecheckedAst"))))) + (L + (EpAnnNotUsed) + (HsTok)))))))) ,(L (SrcSpanAnn (EpAnnNotUsed) { DumpTypecheckedAst.hs:19:1-23 }) (AbsBinds |