Skip to content

Commit 5ddcaa7

Browse files
committed
Remove TODOs in EnumElementPatternSwift4Tests
1 parent 122f404 commit 5ddcaa7

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

Tests/SwiftParserTest/translated/EnumElementPatternSwift4Tests.swift

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ final class EnumElementPatternSwift4Tests: XCTestCase {
2929
}
3030
}
3131
}
32-
""",
33-
diagnostics: [
34-
// TODO: Old parser expected error on line 5: cannot specialize a non-generic definition
35-
// TODO: Old parser expected note on line 5: while parsing this '<' as a type parameter bracket
36-
// TODO: Old parser expected error on line 7: cannot specialize a non-generic definition
37-
// TODO: Old parser expected note on line 7: while parsing this '<' as a type parameter bracket
38-
]
32+
"""
3933
)
4034
}
4135

@@ -61,13 +55,7 @@ final class EnumElementPatternSwift4Tests: XCTestCase {
6155
case .D(let payload) = e
6256
else { return }
6357
}
64-
""",
65-
diagnostics: [
66-
// TODO: Old parser expected error on line 3: cannot specialize a non-generic definition
67-
// TODO: Old parser expected note on line 3: while parsing this '<' as a type parameter bracket
68-
// TODO: Old parser expected error on line 5: cannot specialize a non-generic definition
69-
// TODO: Old parser expected note on line 5: while parsing this '<' as a type parameter bracket
70-
]
58+
"""
7159
)
7260
}
7361

0 commit comments

Comments
 (0)