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.
2 parents 98b1494 + 2d929fd commit 852b56fCopy full SHA for 852b56f
test/IDE/issue-66926.swift
@@ -0,0 +1,12 @@
1
+// RUN: %batch-code-completion
2
+
3
+func test(_ value: Int?) {
4
+#if true
5
+ switch value {
6
+ case .some(let underlyingValue) where #^COMPLETE^#underlyingValue is Int:
7
+ break
8
+ }
9
+#endif
10
+}
11
12
+// COMPLETE: Decl[LocalVar]/Local: underlyingValue[#Int#]; name=underlyingValue
0 commit comments