Index: pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart |
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart |
index 301e5d8560b36e9bf7be2fa8e56eacf406339bc6..d1d281661f333e7ca9144db74076150a591a28c6 100644 |
--- a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart |
+++ b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart |
@@ -36,7 +36,7 @@ class StaticMemberContributor extends DartCompletionContributor { |
if (targetId is Identifier && !request.target.isCascade) { |
Element elem = targetId.bestElement; |
if (elem is ClassElement) { |
- LibraryElement containingLibrary = await request.libraryElement; |
+ LibraryElement containingLibrary = request.libraryElement; |
// Gracefully degrade if the library could not be determined |
// e.g. detached part file or source change |
if (containingLibrary == null) { |