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 2af5078 commit 218c960Copy full SHA for 218c960
test/SourceKit/InterfaceGen/Inputs/Foo3.swift
@@ -0,0 +1,8 @@
1
+public class C {
2
+ public func f1() {
3
+ { (error : NSError?) -> Void in
4
+ dispatch_async(dispatch_get_main_queue(), { () -> Void in
5
+ })
6
+ }
7
8
+}
test/SourceKit/InterfaceGen/gen_swift_source.swift
@@ -11,3 +11,6 @@
11
12
// RUN: %sourcekitd-test -req=interface-gen %S/Inputs/UnresolvedExtension.swift -- %S/Inputs/UnresolvedExtension.swift | FileCheck -check-prefix=CHECK2 %s
13
// CHECK2: extension ET
14
+
15
+// RUN: %sourcekitd-test -req=interface-gen %S/Inputs/Foo3.swift -- %S/Inputs/Foo3.swift | FileCheck -check-prefix=CHECK3 %s
16
+// CHECK3: public class C {
0 commit comments