Skip to content

Commit 01c8a97

Browse files
committed
Fix throws flag
1 parent a371c20 commit 01c8a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2599,7 +2599,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
25992599
Opts.EnableAsyncDemotion |= Args.hasArg(OPT_enable_async_demotion);
26002600
Opts.EnableThrowsPrediction = Args.hasFlag(
26012601
OPT_enable_throws_prediction, OPT_disable_throws_prediction,
2602-
/*default=*/false);
2602+
Opts.EnableThrowsPrediction);
26032603
Opts.EnableActorDataRaceChecks |= Args.hasFlag(
26042604
OPT_enable_actor_data_race_checks,
26052605
OPT_disable_actor_data_race_checks, /*default=*/false);

0 commit comments

Comments
 (0)