File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
test/decl/protocol/conforms Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -6390,7 +6390,7 @@ void TypeChecker::checkConformancesInContext(IterableDeclContext *idc) {
6390
6390
}
6391
6391
6392
6392
if ((existingModule != dc->getParentModule () && conformanceInOrigModule) ||
6393
- diag. Protocol -> isMarkerProtocol () ) {
6393
+ isSendable ) {
6394
6394
// Warn about the conformance.
6395
6395
if (isSendable && SendableConformance &&
6396
6396
isa<InheritedProtocolConformance>(SendableConformance)) {
Original file line number Diff line number Diff line change @@ -86,10 +86,3 @@ class Class3 {
86
86
class SomeMockClass : Class3 . ProviderThree { // okay
87
87
var someInt : Int = 5
88
88
}
89
-
90
-
91
- class ImplicitCopyable { }
92
-
93
- class InheritImplicitCopyable : ImplicitCopyable , Copyable { }
94
- // expected-warning@-1 {{redundant conformance of 'InheritImplicitCopyable' to protocol 'Copyable'}}
95
- // expected-note@-2 {{'InheritImplicitCopyable' inherits conformance to protocol 'Copyable' from superclass here}}
You can’t perform that action at this time.
0 commit comments