Skip to content

Commit 238aeff

Browse files
authored
Merge pull request #37770 from DougGregor/actors-2-feature
2 parents 4f27dc5 + 59b6563 commit 238aeff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ LANGUAGE_FEATURE(AsyncAwait, 296, "async/await", true)
3939
LANGUAGE_FEATURE(EffectfulProp, 310, "Effectful properties", true)
4040
LANGUAGE_FEATURE(MarkerProtocol, 0, "@_marker protocol", true)
4141
LANGUAGE_FEATURE(Actors, 0, "actors", true)
42+
LANGUAGE_FEATURE(Actors2, 0, "actors #2 (TEMPORARY)", true)
4243
LANGUAGE_FEATURE(ConcurrentFunctions, 0, "@concurrent functions", true)
4344
LANGUAGE_FEATURE(RethrowsProtocol, 0, "@rethrows protocol", true)
4445
LANGUAGE_FEATURE(GlobalActors, 0, "Global actors", langOpts.EnableExperimentalConcurrency)

lib/AST/ASTPrinter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,6 +2601,10 @@ static bool usesFeatureConcurrentFunctions(Decl *decl) {
26012601
return false;
26022602
}
26032603

2604+
static bool usesFeatureActors2(Decl *decl) {
2605+
return false;
2606+
}
2607+
26042608
static bool usesFeatureSendable(Decl *decl) {
26052609
if (auto func = dyn_cast<AbstractFunctionDecl>(decl)) {
26062610
if (func->isSendable())

0 commit comments

Comments
 (0)