File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Tests/SwiftParserTest/translated Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,7 @@ final class ForeachAsyncTests: XCTestCase {
68
68
}
69
69
""" ,
70
70
diagnostics: [
71
- // TODO: Old parser expected error on line 21: found an unexpected second identifier in constant declaration
72
- // TODO: Old parser expected note on line 21: join the identifiers together
73
- // TODO: Old parser expected note on line 21: join the identifiers together with camel-case
74
- // TODO: Old parser expected error on line 21: expected 'in' after for-each pattern
75
- // TODO: Old parser expected error on line 21: expected Sequence expression for for-each loop
76
71
DiagnosticSpec ( locationMarker: " 1️⃣ " , message: " expected 'in' in 'for' statement " ) ,
77
- // TODO: Old parser expected error on line 23: expected '{' to start the body of for-each loop
78
72
DiagnosticSpec ( locationMarker: " 2️⃣ " , message: " expected '{' in 'for' statement " ) ,
79
73
DiagnosticSpec ( locationMarker: " 3️⃣ " , message: " expected '}' to end 'for' statement " ) ,
80
74
]
Original file line number Diff line number Diff line change @@ -45,13 +45,7 @@ final class ForeachTests: XCTestCase {
45
45
}
46
46
""" ,
47
47
diagnostics: [
48
- // TODO: Old parser expected error on line 21: found an unexpected second identifier in constant declaration
49
- // TODO: Old parser expected note on line 21: join the identifiers together
50
- // TODO: Old parser expected note on line 21: join the identifiers together with camel-case
51
- // TODO: Old parser expected error on line 21: expected 'in' after for-each pattern
52
- // TODO: Old parser expected error on line 21: expected Sequence expression for for-each loop
53
48
DiagnosticSpec ( locationMarker: " 1️⃣ " , message: " expected 'in' in 'for' statement " ) ,
54
- // TODO: Old parser expected error on line 23: expected '{' to start the body of for-each loop
55
49
DiagnosticSpec ( locationMarker: " 2️⃣ " , message: " expected '{' in 'for' statement " ) ,
56
50
DiagnosticSpec ( locationMarker: " 3️⃣ " , message: " expected '}' to end 'for' statement " ) ,
57
51
]
You can’t perform that action at this time.
0 commit comments