[AST] Add a flag to indicate that the conformance is @preconcurrency

This commit is contained in:
Pavel Yaskevich
2024-01-09 10:26:41 -08:00
committed by Pavel Yaskevich
parent 4943e146bd
commit e8b7a26eac
14 changed files with 97 additions and 48 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);