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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart

Issue 2986493002: Delay finishing dart:core and dart:async libraries until after TypeProvider is set for the context. (Closed)
Patch Set: Created 3 years, 5 months 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/package_bundle_reader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/package_bundle_reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698