Index: pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
diff --git a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
index 8735eea419051fc9539cc7f79edb6b9d9774da10..c639dce4cc18b8a0d9a64804a91c999c6ad8d9c4 100644 |
--- a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
+++ b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
@@ -86,6 +86,7 @@ class LibraryAnalyzer { |
_context, _sourceFactory, _analysisOptions.strongMode, _store); |
_typeProvider = _resynthesizer.typeProvider; |
_context.typeProvider = _typeProvider; |
+ _resynthesizer.finishCoreAsyncLibraries(); |
_libraryElement = _resynthesizer.getLibraryElement(_library.uriStr); |