Remove SwiftOnoneSupport hack for implicit opening of existentials

This commit is contained in:
Doug Gregor
2022-03-24 13:06:15 -07:00
parent 25e71a3a3b
commit b9f31a8547

View File

@@ -459,11 +459,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableExperimentalVariadicGenerics |=
Args.hasArg(OPT_enable_experimental_variadic_generics);
// SwiftOnoneSupport produces different symbols when opening existentials,
// so disable it.
if (FrontendOpts.ModuleName == SWIFT_ONONE_SUPPORT)
Opts.EnableOpenedExistentialTypes = false;
Opts.EnableExperimentalDistributed |=
Args.hasArg(OPT_enable_experimental_distributed);