Skip to content

Commit 33610ee

Browse files
committed
SR-11902: Fixed code review issues
1 parent 9963fce commit 33610ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sema/classes_equatable_hashable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ class Foo: Equatable {}
55

66
class Bar: Hashable {}
77
// expected-error@-1 {{type 'Bar' does not conform to protocol 'Hashable'}} expected-note@-1 {{automatic synthesis of 'Hashable' is not supported for classes because of inheritance.}}
8-
// expected-error@-2 {{type 'Bar' does not conform to protocol 'Equatable'}} expected-note@-2 {{automatic synthesis of 'Equatable' is not supported for classes because of inheritance.}}
8+
// expected-error@-2 {{type 'Bar' does not conform to protocol 'Equatable'}} expected-note@-2 {{automatic synthesis of 'Equatable' is not supported for classes because of inheritance.}}

0 commit comments

Comments
 (0)