Skip to content

Commit 0c36d81

Browse files
committed
[Frontend] Add flag to enable existential any
1 parent a8dbc5f commit 0c36d81

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
@@ -93,6 +93,7 @@ SUPPRESSIBLE_LANGUAGE_FEATURE(NoAsyncAvailability, 340, "@available(*, noasync)"
9393
UPCOMING_FEATURE(ConciseMagicFile, 274, 6)
9494
UPCOMING_FEATURE(ForwardTrailingClosures, 286, 6)
9595
UPCOMING_FEATURE(BareSlashRegexLiterals, 354, 6)
96+
UPCOMING_FEATURE(ExistentialAny, 335, 6)
9697

9798
EXPERIMENTAL_FEATURE(StaticAssert)
9899
EXPERIMENTAL_FEATURE(VariadicGenerics)

lib/AST/ASTPrinter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,6 +3009,10 @@ static bool usesFeatureConciseMagicFile(Decl *decl) {
30093009
return false;
30103010
}
30113011

3012+
static bool usesFeatureExistentialAny(Decl *decl) {
3013+
return false;
3014+
}
3015+
30123016
static bool usesFeatureForwardTrailingClosures(Decl *decl) {
30133017
return false;
30143018
}

0 commit comments

Comments
 (0)