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 25c6bc9 commit ae8283cCopy full SHA for ae8283c
Tests/SwiftParserTest/IncrementalParsingTests.swift
@@ -37,4 +37,16 @@ public class IncrementalParsingTests: XCTestCase {
37
]
38
)
39
}
40
+
41
+ public func testTrailingClosure() {
42
+ XCTExpectFailure("WIP: Add lookahead for incremental parse")
43
+ assertIncrementalParse(
44
+ """
45
+ foo() {}
46
+ trailingClosure: ⏩️switch x {
47
+ default: break
48
+ }⏸️{}⏪️
49
50
+ )
51
+ }
52
0 commit comments