Skip to content

Commit 44402d4

Browse files
[SR-12248] Remove old errors/notes
1 parent ba9ca3a commit 44402d4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

test/Sema/enum_conformance_synthesis.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func customHashable() {
6161
enum InvalidCustomHashable {
6262
case A, B
6363

64-
var hashValue: String { return "" } // expected-note {{previously declared here}}
64+
var hashValue: String { return "" }
6565
}
6666
func ==(x: InvalidCustomHashable, y: InvalidCustomHashable) -> String {
6767
return ""

test/decl/var/property_wrappers.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -837,12 +837,8 @@ struct WrapperWithProjectedValue<T> {
837837
class TestInvalidRedeclaration {
838838
@WrapperWithProjectedValue var i = 17
839839
// expected-note@-1 {{'i' previously declared here}}
840-
// expected-note@-2 {{'$i' previously declared here}}
841-
// expected-note@-3 {{'_i' previously declared here}}
842840
@WrapperWithProjectedValue var i = 39
843841
// expected-error@-1 {{invalid redeclaration of 'i'}}
844-
// expected-error@-2 {{invalid redeclaration of '$i'}}
845-
// expected-error@-3 {{invalid redeclaration of '_i'}}
846842
}
847843

848844
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)