[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:
Pavel Yaskevich
2025-04-03 10:51:42 -07:00
parent bcf38a1aef
commit 4579afb71d
12 changed files with 5 additions and 56 deletions

View File

@@ -1083,8 +1083,6 @@ LoadedFile *SerializedModuleLoaderBase::loadAST(
if (!loadedModuleFile->getModulePackageName().empty()) {
M.setPackageName(Ctx.getIdentifier(loadedModuleFile->getModulePackageName()));
}
if (loadedModuleFile->supportsExtensibleEnums())
M.setSupportsExtensibleEnums();
M.setUserModuleVersion(loadedModuleFile->getUserModuleVersion());
M.setSwiftInterfaceCompilerVersion(
loadedModuleFile->getSwiftInterfaceCompilerVersion());