| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index 9f24549b4f963c3950f5f4eb8b901aa14f86a74f..c9622668395237913e34736c612acb17dc0b0f87 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -1423,15 +1423,9 @@ class _LibraryResynthesizer {
|
| Source referencedLibrarySource = summaryResynthesizer.sourceFactory
|
| .resolveUri(librarySource, dependency.uri);
|
| String referencedLibraryUri = referencedLibrarySource.uri.toString();
|
| - // TODO(paulberry): consider changing Location format so that this is
|
| - // not necessary (2nd string in location should just be the unit
|
| - // number).
|
| String partUri;
|
| if (unit != 0) {
|
| - UnlinkedUnit referencedLibraryDefiningUnit =
|
| - summaryResynthesizer._getUnlinkedSummaryOrThrow(referencedLibraryUri);
|
| - String uri =
|
| - referencedLibraryDefiningUnit.publicNamespace.parts[unit - 1];
|
| + String uri = dependency.parts[unit - 1];
|
| Source partSource = summaryResynthesizer.sourceFactory
|
| .resolveUri(referencedLibrarySource, uri);
|
| partUri = partSource.uri.toString();
|
|
|