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 88dd082 commit 8a79268Copy full SHA for 8a79268
test/SourceKit/VariableType/unnamed.swift
@@ -0,0 +1,10 @@
1
+let = 2
2
+let : Int = 4
3
+
4
+let x: (String) -> Void = { (: String) in }
5
6
+// RUN: %sourcekitd-test -req=collect-var-type %s -- %s | %FileCheck %s
7
+// CHECK: <VariableTypes>
8
+// CHECK-NEXT: (4:5, 4:6): (String) -> Void (explicit type: 1)
9
+// CHECK-NEXT: </VariableTypes>
10
0 commit comments