Index: pkg/analysis_server/lib/src/analysis_server.dart |
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart |
index 3950dee808f53b96165cc85be76ea1e2e1795801..a00ab31e97f8abab14b052a419e2e1347109f926 100644 |
--- a/pkg/analysis_server/lib/src/analysis_server.dart |
+++ b/pkg/analysis_server/lib/src/analysis_server.dart |
@@ -1420,7 +1420,7 @@ class AnalysisServer { |
} |
// if library has not been resolved yet, the unit will be resolved later |
Source librarySource = librarySources[0]; |
- if (context.getResult(librarySource, LIBRARY_ELEMENT5) == null) { |
+ if (context.getResult(librarySource, LIBRARY_ELEMENT6) == null) { |
return null; |
} |
// if library has been already resolved, resolve unit |