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