File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ func customHashable() {
61
61
enum InvalidCustomHashable {
62
62
case A, B
63
63
64
- var hashValue : String { return " " } // expected-note {{previously declared here}}
64
+ var hashValue : String { return " " }
65
65
}
66
66
func == ( x: InvalidCustomHashable , y: InvalidCustomHashable ) -> String {
67
67
return " "
Original file line number Diff line number Diff line change @@ -837,12 +837,8 @@ struct WrapperWithProjectedValue<T> {
837
837
class TestInvalidRedeclaration {
838
838
@WrapperWithProjectedValue var i = 17
839
839
// expected-note@-1 {{'i' previously declared here}}
840
- // expected-note@-2 {{'$i' previously declared here}}
841
- // expected-note@-3 {{'_i' previously declared here}}
842
840
@WrapperWithProjectedValue var i = 39
843
841
// expected-error@-1 {{invalid redeclaration of 'i'}}
844
- // expected-error@-2 {{invalid redeclaration of '$i'}}
845
- // expected-error@-3 {{invalid redeclaration of '_i'}}
846
842
}
847
843
848
844
// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments