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

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

Issue 2486873003: Move scanner into pkg/front_end/lib/src/scanner. (Closed)
Patch Set: Created 4 years, 1 month 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 4047b3b84c244a407b79b3e8e82179c711eed3dd..60a6dbc21b8476070bfc547d2d29e30a47715095 100644
--- a/pkg/analyzer/lib/src/task/options.dart
+++ b/pkg/analyzer/lib/src/task/options.dart
@@ -173,7 +173,7 @@ class ErrorFilterOptionValidator extends OptionsValidator {
if (_errorCodes == null) {
_errorCodes = new HashSet<String>();
// Engine codes.
- _errorCodes.addAll(ErrorCode.values.map((ErrorCode code) => code.name));
+ _errorCodes.addAll(errorCodeValues.map((ErrorCode code) => code.name));
}
return _errorCodes;
}

Powered by Google App Engine
This is Rietveld 408576698