We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb3d1d commit 69f7cf2Copy full SHA for 69f7cf2
Tests/SwiftParserTest/IncrementalParsingTests.swift
@@ -35,4 +35,16 @@ public class IncrementalParsingTests: XCTestCase {
35
ReusedNodeSpec(sourceString: "struct B {}", kind: .codeBlockItem)
36
])
37
}
38
+
39
+ public func testTrailingClosure() {
40
+ XCTExpectFailure("WIP: Add lookahead for incremental parse")
41
+ assertIncrementalParse(
42
+ """
43
+ foo() {}
44
+ trailingClosure: ⏩️switch x {
45
+ default: break
46
+ }⏸️{}⏪️
47
48
+ )
49
+ }
50
0 commit comments