Skip to content

Commit 031d132

Browse files
Fix SR Number in test/decl/var/usage.swift
Co-authored-by: Luciano Almeida <[email protected]>
1 parent f85cb50 commit 031d132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/decl/var/usage.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,9 @@ func testVariablesBoundInPatterns() {
540540
break
541541
}
542542
}
543-
// Tests fix to SR-1464
543+
// Tests fix to SR-14646
544544
func testUselessCastWithInvalidParam(foo: Any?) -> Int {
545545
class Foo { }
546546
if let bar = foo as? Foo { return 42 } // expected-warning {{value 'bar' was defined but never used; consider replacing with boolean test}} {{6-16=}} {{20-23=is}}
547547
else { return 54 }
548-
}
548+
}

0 commit comments

Comments
 (0)