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 e547c06 commit 748f60dCopy full SHA for 748f60d
test/SourceKit/VariableType/params.swift
@@ -8,9 +8,13 @@ let z = { (param: String) in
8
param.count
9
}
10
11
+let w: (String, Int) -> Void = { (_, x) in }
12
+
13
// RUN: %sourcekitd-test -req=collect-var-type %s -- %s | %FileCheck %s
14
// CHECK: (1:10, 1:15): Int (explicit type: 1)
15
// CHECK: (5:5, 5:6): (String) -> Void (explicit type: 1)
16
// CHECK: (5:29, 5:34): String (explicit type: 0)
17
// CHECK: (7:5, 7:6): (String) -> Int (explicit type: 0)
18
// CHECK: (7:12, 7:17): String (explicit type: 1)
19
+// CHECK: (11:35, 11:36): String (explicit type: 0)
20
+// CHECK: (11:38, 11:39): Int (explicit type: 0)
0 commit comments