Skip to content

Commit b9f31a8

Browse files
committed
Remove SwiftOnoneSupport hack for implicit opening of existentials
1 parent 25e71a3 commit b9f31a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
459459
Opts.EnableExperimentalVariadicGenerics |=
460460
Args.hasArg(OPT_enable_experimental_variadic_generics);
461461

462-
// SwiftOnoneSupport produces different symbols when opening existentials,
463-
// so disable it.
464-
if (FrontendOpts.ModuleName == SWIFT_ONONE_SUPPORT)
465-
Opts.EnableOpenedExistentialTypes = false;
466-
467462
Opts.EnableExperimentalDistributed |=
468463
Args.hasArg(OPT_enable_experimental_distributed);
469464

0 commit comments

Comments
 (0)