summaryrefslogtreecommitdiff
path: root/testsuite/tests/module
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-02-21 21:23:40 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:48:38 -0400
commit95275a5f25a2e70b71240d4756109180486af1b1 (patch)
treeeb4801bb0e00098b8b9d513479de4fbbd779ddac /testsuite/tests/module
parentf940fd466a86c2f8e93237b36835797be3f3c898 (diff)
downloadhaskell-95275a5f25a2e70b71240d4756109180486af1b1.tar.gz
GHC Exactprint main commit
Metric Increase: T10370 parsing001 Updates haddock submodule
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r--testsuite/tests/module/mod185.stderr100
1 files changed, 83 insertions, 17 deletions
diff --git a/testsuite/tests/module/mod185.stderr b/testsuite/tests/module/mod185.stderr
index f2bb93c3e9..73a5ecab16 100644
--- a/testsuite/tests/module/mod185.stderr
+++ b/testsuite/tests/module/mod185.stderr
@@ -1,16 +1,54 @@
+
==================== Parser AST ====================
-({ mod185.hs:1:1 }
+(L
+ { mod185.hs:1:1 }
(HsModule
+ (ApiAnn
+ (Anchor
+ { mod185.hs:1:1 }
+ (UnchangedAnchor))
+ (AnnsModule
+ []
+ (AnnList
+ (Nothing)
+ (Nothing)
+ (Nothing)
+ []
+ []))
+ (AnnCommentsBalanced
+ []
+ [(L
+ (Anchor
+ { mod185.hs:6:1 }
+ (UnchangedAnchor))
+ (AnnComment
+ (AnnEofComment)
+ { mod185.hs:6:1 }))]))
(VirtualBraces
(1))
(Nothing)
(Nothing)
- [({ mod185.hs:3:1-24 }
+ [(L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:3:1-24 })
(ImportDecl
- (NoExtField)
+ (ApiAnn
+ (Anchor
+ { mod185.hs:3:1-6 }
+ (UnchangedAnchor))
+ (ApiAnnImportDecl
+ (AR { mod185.hs:3:1-6 })
+ (Nothing)
+ (Nothing)
+ (Just
+ (AR { mod185.hs:3:16-24 }))
+ (Nothing)
+ (Nothing))
+ (AnnComments
+ []))
(NoSourceText)
- ({ mod185.hs:3:8-14 }
+ (L
+ { mod185.hs:3:8-14 }
{ModuleName: Prelude})
(Nothing)
(NotBoot)
@@ -19,22 +57,40 @@
(False)
(Nothing)
(Nothing)))]
- [({ mod185.hs:5:1-24 }
+ [(L
+ (SrcSpanAnn (ApiAnn
+ (Anchor
+ { mod185.hs:5:1-24 }
+ (UnchangedAnchor))
+ (AnnListItem
+ [])
+ (AnnComments
+ [])) { mod185.hs:5:1-24 })
(ValD
(NoExtField)
(FunBind
(NoExtField)
- ({ mod185.hs:5:1-4 }
+ (L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:1-4 })
(Unqual
{OccName: main}))
(MG
(NoExtField)
- ({ mod185.hs:5:1-24 }
- [({ mod185.hs:5:1-24 }
+ (L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:1-24 })
+ [(L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:1-24 })
(Match
- (NoExtField)
+ (ApiAnn
+ (Anchor
+ { mod185.hs:5:1-24 }
+ (UnchangedAnchor))
+ []
+ (AnnComments
+ []))
(FunRhs
- ({ mod185.hs:5:1-4 }
+ (L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:1-4 })
(Unqual
{OccName: main}))
(Prefix)
@@ -42,20 +98,30 @@
[]
(GRHSs
(NoExtField)
- [({ mod185.hs:5:6-24 }
+ [(L
+ { mod185.hs:5:6-24 }
(GRHS
- (NoExtField)
+ (ApiAnn
+ (Anchor
+ { mod185.hs:5:6-24 }
+ (UnchangedAnchor))
+ (GrhsAnn
+ (Nothing)
+ (AddApiAnn AnnEqual (AR { mod185.hs:5:6 })))
+ (AnnComments
+ []))
[]
- ({ mod185.hs:5:8-24 }
+ (L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:8-24 })
(HsVar
(NoExtField)
- ({ mod185.hs:5:8-24 }
+ (L
+ (SrcSpanAnn (ApiAnnNotUsed) { mod185.hs:5:8-24 })
(Qual
{ModuleName: Prelude}
{OccName: undefined}))))))]
- ({ <no location info> }
- (EmptyLocalBinds
- (NoExtField))))))])
+ (EmptyLocalBinds
+ (NoExtField)))))])
(FromSource))
[])))]
(Nothing)