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

Unified Diff: pkg/analyzer_cli/lib/src/analyzer_impl.dart

Issue 2564323002: Fix warnings (Closed)
Patch Set: Created 4 years 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/dev_compiler/lib/src/compiler/error_helpers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/analyzer_impl.dart
diff --git a/pkg/analyzer_cli/lib/src/analyzer_impl.dart b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
index 14b61b83ece89e237a7cc5b8d36934dd6babad0c..f33706ca909a31c79c9a16ef59e2da544890cac8 100644
--- a/pkg/analyzer_cli/lib/src/analyzer_impl.dart
+++ b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
@@ -257,7 +257,8 @@ class AnalyzerImpl {
AnalysisError error, CommandLineOptions options,
[AnalysisContext context]) {
if (context != null) {
- ErrorProcessor processor = ErrorProcessor.getProcessor(context, error);
+ ErrorProcessor processor =
+ ErrorProcessor.getProcessor(context.analysisOptions, error);
// If there is a processor for this error, defer to it.
if (processor != null) {
return processor.severity;
« no previous file with comments | « no previous file | pkg/dev_compiler/lib/src/compiler/error_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698