mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Add a flag to indicate that the conformance is @preconcurrency
This commit is contained in:
committed by
Pavel Yaskevich
parent
4943e146bd
commit
e8b7a26eac
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user