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

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

Issue 2706053002: Implement --fatal=errors. (Closed)
Patch Set: Address comments. Created 3 years, 10 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 | pkg/front_end/lib/src/fasta/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/compiler_command_line.dart
diff --git a/pkg/front_end/lib/src/fasta/compiler_command_line.dart b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
index 6cd3478b5a55551070d955dd4e0107010d879887..1ad8241670952c270d06536c1db4dab414fd4350 100644
--- a/pkg/front_end/lib/src/fasta/compiler_command_line.dart
+++ b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
@@ -74,11 +74,11 @@ class CompilerCommandLine extends CommandLine {
return new Set<String>.from(options["--fatal"] ?? <String>[]);
}
- bool get areErrorsFatal => fatal.contains("errors");
+ bool get errorsAreFatal => fatal.contains("errors");
- bool get areWarningsFatal => fatal.contains("warnings");
+ bool get warningsAreFatal => fatal.contains("warnings");
- bool get areNitsFatal => fatal.contains("nits");
+ bool get nitsAreFatal => fatal.contains("nits");
static dynamic withGlobalOptions(String programName, List<String> arguments,
dynamic f(CompilerContext context)) {
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698