| 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..d8dc119a9296f6637fe70275940720e2f6ff42ad 100644
|
| --- a/pkg/analyzer/lib/src/summary/summary_sdk.dart
|
| +++ b/pkg/analyzer/lib/src/summary/summary_sdk.dart
|
| @@ -47,7 +47,7 @@ class SummarySdkAnalysisContext extends SdkAnalysisContext {
|
| bool aboutToComputeResult(CacheEntry entry, ResultDescriptor result) {
|
| if (resynthesizer == null) {
|
| resynthesizer = new SummaryResynthesizer(this, typeProvider,
|
| - _getPrelinkedSummary, _getUnlinkedSummary, sourceFactory);
|
| + _getLinkedSummary, _getUnlinkedSummary, sourceFactory);
|
| _buildCoreLibrary();
|
| _buildAsyncLibrary();
|
| }
|
| @@ -80,7 +80,7 @@ class SummarySdkAnalysisContext extends SdkAnalysisContext {
|
| return true;
|
| } else if (result == SOURCE_KIND) {
|
| String uri = target.uri.toString();
|
| - if (bundle.prelinkedLibraryUris.contains(uri)) {
|
| + if (bundle.linkedLibraryUris.contains(uri)) {
|
| entry.setValue(result, SourceKind.LIBRARY, TargetedResult.EMPTY_LIST);
|
| return true;
|
| }
|
| @@ -106,13 +106,13 @@ class SummarySdkAnalysisContext extends SdkAnalysisContext {
|
| typeProvider.initializeCore(library);
|
| }
|
|
|
| - PrelinkedLibrary _getPrelinkedSummary(String uri) {
|
| - for (int i = 0; i < bundle.prelinkedLibraryUris.length; i++) {
|
| - if (bundle.prelinkedLibraryUris[i] == uri) {
|
| - return bundle.prelinkedLibraries[i];
|
| + LinkedLibrary _getLinkedSummary(String uri) {
|
| + for (int i = 0; i < bundle.linkedLibraryUris.length; i++) {
|
| + if (bundle.linkedLibraryUris[i] == uri) {
|
| + return bundle.linkedLibraries[i];
|
| }
|
| }
|
| - throw new StateError('Unable to find prelinked summary for $uri');
|
| + throw new StateError('Unable to find linked summary for $uri');
|
| }
|
|
|
| UnlinkedUnit _getUnlinkedSummary(String uri) {
|
|
|