summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile')
-rw-r--r--testsuite/tests/parser/should_compile/DumpParsedAst.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/DumpSemis.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/KindSigs.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T15323.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T20452.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T20718.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T20718b.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T20846.stderr14
9 files changed, 54 insertions, 72 deletions
diff --git a/testsuite/tests/parser/should_compile/DumpParsedAst.stderr b/testsuite/tests/parser/should_compile/DumpParsedAst.stderr
index fdea6a5bce..1e48180185 100644
--- a/testsuite/tests/parser/should_compile/DumpParsedAst.stderr
+++ b/testsuite/tests/parser/should_compile/DumpParsedAst.stderr
@@ -17,16 +17,14 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { DumpParsedAst.hs:25:1 }
+ { DumpParsedAst.hs:24:17-23 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { DumpParsedAst.hs:25:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { DumpParsedAst.hs:25:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr b/testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr
index 0f451eeb14..6050639d73 100644
--- a/testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr
+++ b/testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr
@@ -18,7 +18,11 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { DumpParsedAstComments.hs:17:1 }
+ { DumpParsedAstComments.hs:16:17-23 })))
(EpaCommentsBalanced
[(L
(Anchor
@@ -44,13 +48,7 @@
(EpaLineComment
"-- Other comment")
{ DumpParsedAstComments.hs:5:30-34 }))]
- [(L
- (Anchor
- { DumpParsedAstComments.hs:17:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { DumpParsedAstComments.hs:17:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/DumpSemis.stderr b/testsuite/tests/parser/should_compile/DumpSemis.stderr
index faa926b6c4..4e283a73fe 100644
--- a/testsuite/tests/parser/should_compile/DumpSemis.stderr
+++ b/testsuite/tests/parser/should_compile/DumpSemis.stderr
@@ -28,16 +28,14 @@
,(AddSemiAnn
(EpaSpan { DumpSemis.hs:4:7 }))
,(AddSemiAnn
- (EpaSpan { DumpSemis.hs:4:8 }))]))
+ (EpaSpan { DumpSemis.hs:4:8 }))])
+ (Just
+ ((,)
+ { DumpSemis.hs:46:1 }
+ { DumpSemis.hs:45:1 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { DumpSemis.hs:46:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { DumpSemis.hs:46:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/KindSigs.stderr b/testsuite/tests/parser/should_compile/KindSigs.stderr
index f9b9a986e4..df228cb912 100644
--- a/testsuite/tests/parser/should_compile/KindSigs.stderr
+++ b/testsuite/tests/parser/should_compile/KindSigs.stderr
@@ -17,16 +17,14 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { KindSigs.hs:36:1 }
+ { KindSigs.hs:35:8-11 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { KindSigs.hs:36:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { KindSigs.hs:36:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/T15323.stderr b/testsuite/tests/parser/should_compile/T15323.stderr
index 36768671e4..a3bc49d34f 100644
--- a/testsuite/tests/parser/should_compile/T15323.stderr
+++ b/testsuite/tests/parser/should_compile/T15323.stderr
@@ -17,16 +17,14 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { T15323.hs:7:1 }
+ { T15323.hs:6:54 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { T15323.hs:7:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { T15323.hs:7:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/T20452.stderr b/testsuite/tests/parser/should_compile/T20452.stderr
index 0c2982dd9c..f05cef65b8 100644
--- a/testsuite/tests/parser/should_compile/T20452.stderr
+++ b/testsuite/tests/parser/should_compile/T20452.stderr
@@ -17,16 +17,14 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { T20452.hs:10:1 }
+ { T20452.hs:9:85 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { T20452.hs:10:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { T20452.hs:10:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/T20718.stderr b/testsuite/tests/parser/should_compile/T20718.stderr
index ab90eb29bc..bd071a0227 100644
--- a/testsuite/tests/parser/should_compile/T20718.stderr
+++ b/testsuite/tests/parser/should_compile/T20718.stderr
@@ -17,7 +17,11 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { T20718.hs:12:1 }
+ { T20718.hs:11:1-8 })))
(EpaCommentsBalanced
[(L
(Anchor
@@ -51,13 +55,7 @@
(EpaLineComment
"-- before 2")
{ T20718.hs:5:1-11 }))]
- [(L
- (Anchor
- { T20718.hs:12:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { T20718.hs:11:1-8 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/T20718b.stderr b/testsuite/tests/parser/should_compile/T20718b.stderr
index 79b5d67bb3..6370f1cbcc 100644
--- a/testsuite/tests/parser/should_compile/T20718b.stderr
+++ b/testsuite/tests/parser/should_compile/T20718b.stderr
@@ -17,7 +17,11 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { T20718b.hs:8:1 }
+ { T20718b.hs:7:1-21 })))
(EpaCommentsBalanced
[(L
(Anchor
@@ -51,13 +55,7 @@
(EpaLineComment
"-- trailing comment 2")
{ T20718b.hs:6:1-21 }))]
- [(L
- (Anchor
- { T20718b.hs:8:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { T20718b.hs:7:1-21 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)
diff --git a/testsuite/tests/parser/should_compile/T20846.stderr b/testsuite/tests/parser/should_compile/T20846.stderr
index edacbd9ff6..7cb906a78a 100644
--- a/testsuite/tests/parser/should_compile/T20846.stderr
+++ b/testsuite/tests/parser/should_compile/T20846.stderr
@@ -17,16 +17,14 @@
(Nothing)
(Nothing)
[]
- []))
+ [])
+ (Just
+ ((,)
+ { T20846.hs:5:1 }
+ { T20846.hs:4:10-18 })))
(EpaCommentsBalanced
[]
- [(L
- (Anchor
- { T20846.hs:5:1 }
- (UnchangedAnchor))
- (EpaComment
- (EpaEofComment)
- { T20846.hs:5:1 }))]))
+ []))
(VirtualBraces
(1))
(Nothing)