Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: pkg/front_end/lib/src/fasta/fasta.dart

Issue 2934763002: Re-validate command line options after changing them in fasta (Closed)
Patch Set: Adjust CL to the recent changes in master Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/fasta.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta.dart b/pkg/front_end/lib/src/fasta/fasta.dart
index 4ed91dabc3185e2df4c0ab1ee13cc86ec8cd631c..865192b2aa6fed78a8eaa327703b6683a72d2e65 100644
--- a/pkg/front_end/lib/src/fasta/fasta.dart
+++ b/pkg/front_end/lib/src/fasta/fasta.dart
@@ -247,6 +247,7 @@ Future compilePlatform(Uri patchedSdk, Uri fullOutput,
if (verbose) {
c.options.options["--verbose"] = true;
}
+ c.options.validate();
return compilePlatformInternal(
c, ticker, patchedSdk, fullOutput, outlineOutput);
});
@@ -269,6 +270,7 @@ Future writeDepsFile(Uri script, Uri depsFile, Uri output,
if (verbose) {
c.options.options["--verbose"] = true;
}
+ c.options.validate();
sdk ??= c.options.sdk;
TranslateUri uriTranslator = await TranslateUri.parse(c.fileSystem, sdk,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698