File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,9 @@ func basictest() {
79
79
bind_test2 ( ) // expected-error {{cannot call value of non-function type 'Int'}}{{13-15=}}
80
80
}
81
81
82
- // <https://bugs.swift.org/browse/SR-3522>
83
- func testUnusedLiterals_SR3522( ) {
82
+ // https://github.com/apple/swift/issues/46110
83
+ // Test unused literals.
84
+ do {
84
85
42 // expected-warning {{integer literal is unused}}
85
86
2.71828 // expected-warning {{floating-point literal is unused}}
86
87
true // expected-warning {{boolean literal is unused}}
@@ -899,7 +900,8 @@ func r22913570() {
899
900
f ( 1 + 1 ) // expected-error{{missing argument for parameter 'to' in call}}
900
901
}
901
902
902
- // SR-628 mixing lvalues and rvalues in tuple expression
903
+ // https://github.com/apple/swift/issues/43245
904
+ // Mixing lvalues and rvalues in tuple expression
903
905
do {
904
906
var x = 0
905
907
var y = 1
911
913
x = ( x, ( 3 , y) ) . 1 . 1
912
914
}
913
915
914
- // SR-3439 subscript with pound expressions.
915
- Sr3439: do {
916
+ // https://github.com/apple/swift/issues/46027
917
+ // Subscripting with pound expressions
918
+ do {
916
919
class B {
917
920
init ( ) { }
918
921
subscript( x: Int ) -> Int { return x }
You can’t perform that action at this time.
0 commit comments