Index: pkg/analysis_server/lib/src/operation/operation_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
index 658273cb404164155bfe570afe2e69e2fab5c6db..a53200505c5ebbebe6c3c443322ace769b98b940 100644 |
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
@@ -41,7 +41,7 @@ Future<Null> scheduleImplementedNotification( |
return; |
} |
for (String file in files) { |
- CompilationUnit unit = await server.getResolvedCompilationUnit(file); |
+ CompilationUnit unit = server.getCachedAnalysisResult(file)?.unit; |
CompilationUnitElement unitElement = unit?.element; |
if (unitElement != null) { |
try { |