File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -797,7 +797,7 @@ bool SendableCheckContext::warnInMinimalChecking() const {
797
797
case SendableCheck::Explicit:
798
798
return true ;
799
799
800
- case SendableCheck::ImpliedByStandardProtocol :
800
+ case SendableCheck::ImpliedByPreconcurrencyProtocol :
801
801
case SendableCheck::Implicit:
802
802
case SendableCheck::ImplicitForExternallyVisible:
803
803
return false ;
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ enum class SendableCheck {
353
353
354
354
// / Sendable conformance was implied by a protocol that inherits from
355
355
// / Sendable and also predates concurrency.
356
- ImpliedByStandardProtocol ,
356
+ ImpliedByPreconcurrencyProtocol ,
357
357
358
358
// / Implicit conformance to Sendable.
359
359
Implicit,
@@ -367,7 +367,7 @@ enum class SendableCheck {
367
367
static inline bool isImplicitSendableCheck (SendableCheck check) {
368
368
switch (check) {
369
369
case SendableCheck::Explicit:
370
- case SendableCheck::ImpliedByStandardProtocol :
370
+ case SendableCheck::ImpliedByPreconcurrencyProtocol :
371
371
return false ;
372
372
373
373
case SendableCheck::Implicit:
Original file line number Diff line number Diff line change @@ -6688,7 +6688,7 @@ void TypeChecker::checkConformancesInContext(IterableDeclContext *idc) {
6688
6688
if (!hasDeprecatedUnsafeSendable && SendableConformance) {
6689
6689
SendableCheck check = SendableCheck::Explicit;
6690
6690
if (sendableConformancePreconcurrency)
6691
- check = SendableCheck::ImpliedByStandardProtocol ;
6691
+ check = SendableCheck::ImpliedByPreconcurrencyProtocol ;
6692
6692
else if (SendableConformance->getSourceKind () ==
6693
6693
ConformanceEntryKind::Synthesized)
6694
6694
check = SendableCheck::Implicit;
You can’t perform that action at this time.
0 commit comments