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 f623440 commit 5ba66aaCopy full SHA for 5ba66aa
test/Constraints/overload.swift
@@ -257,3 +257,10 @@ func rdar79672230() {
257
var t: MyType = MyType()
258
test(&t) // expected-error {{no exact matches in call to local function 'test'}}
259
}
260
+
261
+// https://github.com/apple/swift/issues/60029
262
+for (key, values) in oldName { // expected-error{{cannot find 'oldName' in scope}}
263
+ for (idx, value) in values.enumerated() {
264
+ print(key, idx, value)
265
+ }
266
+}
0 commit comments