Merge pull request #70867 from xedin/dynamic-enforcement-of-witness-isolation-with-preconcurrency

[TypeChecker/SILGen] Dynamic enforcement of witness/objc isolation with @preconcurrency attribute
This commit is contained in:
Pavel Yaskevich
2024-01-17 10:01:37 -08:00
committed by GitHub
37 changed files with 1003 additions and 95 deletions

View File

@@ -811,7 +811,8 @@ addDistributedActorCodableConformance(
actor->getDeclaredInterfaceType(), proto,
actor->getLoc(), /*dc=*/actor,
ProtocolConformanceState::Incomplete,
/*isUnchecked=*/false);
/*isUnchecked=*/false,
/*isPreconcurrency=*/false);
conformance->setSourceKindAndImplyingConformance(
ConformanceEntryKind::Synthesized, nullptr);
actor->registerProtocolConformance(conformance, /*synthesized=*/true);