File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -258,13 +258,6 @@ func rdar79672230() {
258
258
test ( & t) // expected-error {{no exact matches in call to local function 'test'}}
259
259
}
260
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
- }
267
-
268
261
// rdar://97396399 - crash in swift::DiagnosticEngine::formatDiagnosticText
269
262
func rdar97396399( ) {
270
263
// Has to be overloaded to make sure that contextual type is not recorded during constraint generation
Original file line number Diff line number Diff line change @@ -521,3 +521,16 @@ func rdar80797176 () {
521
521
for x : Int in [ 1 , 2 ] where x. bitWidth == 32 { // Ok
522
522
}
523
523
}
524
+
525
+ // https://github.com/apple/swift/issues/60029
526
+ for (key, values) in oldName { // expected-error{{cannot find 'oldName' in scope}}
527
+ for (idx, value) in values. enumerated ( ) {
528
+ print ( key, idx, value)
529
+ }
530
+ }
531
+
532
+ // https://github.com/apple/swift/issues/60503
533
+ func f60503( ) {
534
+ let ( key, _) = settings. enumerate ( ) // expected-error{{cannot find 'settings' in scope}}
535
+ let ( _, _) = settings. enumerate ( ) // expected-error{{cannot find 'settings' in scope}}
536
+ }
You can’t perform that action at this time.
0 commit comments