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 @@ -798,7 +798,7 @@ bool SendableCheckContext::warnInMinimalChecking() const {
798
798
case SendableCheck::Explicit:
799
799
return true ;
800
800
801
- case SendableCheck::ImpliedByStandardProtocol :
801
+ case SendableCheck::ImpliedByPreconcurrencyProtocol :
802
802
case SendableCheck::Implicit:
803
803
case SendableCheck::ImplicitForExternallyVisible:
804
804
return false ;
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ enum class SendableCheck {
352
352
353
353
// / Sendable conformance was implied by a protocol that inherits from
354
354
// / Sendable and also predates concurrency.
355
- ImpliedByStandardProtocol ,
355
+ ImpliedByPreconcurrencyProtocol ,
356
356
357
357
// / Implicit conformance to Sendable.
358
358
Implicit,
@@ -366,7 +366,7 @@ enum class SendableCheck {
366
366
static inline bool isImplicitSendableCheck (SendableCheck check) {
367
367
switch (check) {
368
368
case SendableCheck::Explicit:
369
- case SendableCheck::ImpliedByStandardProtocol :
369
+ case SendableCheck::ImpliedByPreconcurrencyProtocol :
370
370
return false ;
371
371
372
372
case SendableCheck::Implicit:
Original file line number Diff line number Diff line change @@ -6681,7 +6681,7 @@ void TypeChecker::checkConformancesInContext(IterableDeclContext *idc) {
6681
6681
if (!hasDeprecatedUnsafeSendable && SendableConformance) {
6682
6682
SendableCheck check = SendableCheck::Explicit;
6683
6683
if (sendableConformancePreconcurrency)
6684
- check = SendableCheck::ImpliedByStandardProtocol ;
6684
+ check = SendableCheck::ImpliedByPreconcurrencyProtocol ;
6685
6685
else if (SendableConformance->getSourceKind () ==
6686
6686
ConformanceEntryKind::Synthesized)
6687
6687
check = SendableCheck::Implicit;
You can’t perform that action at this time.
0 commit comments