Skip to content

Commit 6cca6e5

Browse files
authored
Merge pull request #70375 from slavapestov/type-witness-system-inference-enable
Turn on -enable-experimental-associated-type-inference by default
2 parents 562ab8a + f79aa8d commit 6cca6e5

6 files changed

+392
-52
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
13391339
if (Args.hasArg(OPT_warn_redundant_requirements))
13401340
Opts.WarnRedundantRequirements = true;
13411341

1342+
Opts.EnableExperimentalAssociatedTypeInference = true;
1343+
13421344
if (Args.hasArg(OPT_enable_experimental_associated_type_inference))
13431345
Opts.EnableExperimentalAssociatedTypeInference = true;
13441346
if (Args.hasArg(OPT_disable_experimental_associated_type_inference))

0 commit comments

Comments
 (0)