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

Unified Diff: pkg/analyzer/lib/src/task/options.dart

Issue 1420363005: Error Suppression FTW. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Typo. Created 5 years, 2 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
Index: pkg/analyzer/lib/src/task/options.dart
diff --git a/pkg/analyzer/lib/src/task/options.dart b/pkg/analyzer/lib/src/task/options.dart
index 9f22f7f647aec59ebd23f567d3067a99073e2c09..189319557ab80fe448fb44536375a628d80f19ae 100644
--- a/pkg/analyzer/lib/src/task/options.dart
+++ b/pkg/analyzer/lib/src/task/options.dart
@@ -25,7 +25,7 @@ final ListResultDescriptor<AnalysisError> ANALYSIS_OPTIONS_ERRORS =
/// Validates `analyzer` top-level options.
class AnalyzerOptionsValidator extends TopLevelOptionValidator {
AnalyzerOptionsValidator()
- : super('analyzer', const ['exclude', 'plugins', 'strong-mode']);
+ : super('analyzer', const ['exclude', 'plugins', 'strong-mode', 'errors']);
Brian Wilkerson 2015/10/28 02:09:08 Seems like these should be constants so that we ca
pquitslund 2015/10/28 15:56:44 Absolutely. Another case of "real" enum-envy. :(
}
/// Convenience class for composing validators.

Powered by Google App Engine
This is Rietveld 408576698