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

Unified Diff: pkg/analyzer/lib/src/summary/summary_sdk.dart

Issue 1585093003: Chain SummaryResynthesizer(s). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: pkg/analyzer/lib/src/summary/summary_sdk.dart
diff --git a/pkg/analyzer/lib/src/summary/summary_sdk.dart b/pkg/analyzer/lib/src/summary/summary_sdk.dart
index 4d9b9feb6ce4ce6b59fabe8221debbe1dcc68723..e45cbc691ca549f5bb718f5c6b31e30fc0cb9f56 100644
--- a/pkg/analyzer/lib/src/summary/summary_sdk.dart
+++ b/pkg/analyzer/lib/src/summary/summary_sdk.dart
@@ -46,8 +46,14 @@ class SummarySdkAnalysisContext extends SdkAnalysisContext {
@override
bool aboutToComputeResult(CacheEntry entry, ResultDescriptor result) {
if (resynthesizer == null) {
- resynthesizer = new SummaryResynthesizer(this, typeProvider,
- _getPrelinkedSummary, _getUnlinkedSummary, sourceFactory);
+ resynthesizer = new SummaryResynthesizer(
+ null,
+ this,
+ typeProvider,
+ (String uri) => uri.startsWith('dart:'),
+ _getPrelinkedSummary,
+ _getUnlinkedSummary,
+ sourceFactory);
_buildCoreLibrary();
_buildAsyncLibrary();
}

Powered by Google App Engine
This is Rietveld 408576698