mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #58429 from etcwilde/ewilde/disjunction-main-resolution
Use Disjunction Constraint to find main function
This commit is contained in:
@@ -497,8 +497,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Diags.diagnose(SourceLoc(), diag::warn_flag_deprecated,
|
||||
"-enable-experimental-async-top-level");
|
||||
|
||||
Opts.EnableAsyncMainResolution = Args.hasArg(OPT_async_main);
|
||||
|
||||
Opts.DiagnoseInvalidEphemeralnessAsError |=
|
||||
Args.hasArg(OPT_enable_invalid_ephemeralness_as_error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user