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. |