mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Frontend/Serialization] Remove ExtensibleEnums experimental flag
For now the semantics provided by `@extensible` keyword on per-enum
basis. We might return this as an upcoming feature in the future with
a way to opt-out.
(cherry picked from commit bf19481ab6)
This commit is contained in:
@@ -1501,8 +1501,6 @@ ModuleDecl *CompilerInstance::getMainModule() const {
|
||||
MainModule->setSerializePackageEnabled();
|
||||
if (Invocation.getLangOptions().hasFeature(Feature::StrictMemorySafety))
|
||||
MainModule->setStrictMemorySafety(true);
|
||||
if (Invocation.getLangOptions().hasFeature(Feature::ExtensibleEnums))
|
||||
MainModule->setSupportsExtensibleEnums(true);
|
||||
|
||||
configureAvailabilityDomains(getASTContext(),
|
||||
Invocation.getFrontendOptions(), MainModule);
|
||||
|
||||
Reference in New Issue
Block a user