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

Unified Diff: pkg/analysis_server/test/context_manager_test.dart

Issue 2566013002: Implement 'analysis.getErrors' for the new driver. (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
Index: pkg/analysis_server/test/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index d6c7442f978735f53918620fd6005a0781835537..094da54e39876df930e6088fbb51ce152fb26046 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -1772,7 +1772,8 @@ abstract class ContextManagerTest {
*/
ErrorProcessor getProcessor(AnalysisError error) =>
callbacks.currentDriver == null
- ? ErrorProcessor.getProcessor(callbacks.currentContext, error)
+ ? ErrorProcessor.getProcessor(
+ callbacks.currentContext.analysisOptions, error)
: errorProcessors.firstWhere((ErrorProcessor p) => p.appliesTo(error),
orElse: () => null);

Powered by Google App Engine
This is Rietveld 408576698