anchor.diff:    List<String> getReferencedLocationComponents(
         int dependencyIndex, int unit, String name) {
       if (dependencyIndex == 0) {
  -      String referencedLibraryUri = libraryUri;
         String partUri;
         if (unit != 0) {
           String uri = unlinkedUnits[0].publicNamespace.parts[unit - 1];
  -        Source partSource =
  -            summaryResynthesizer.sourceFactory.resolveUri(librarySource, uri);
  -        partUri = partSource.uri.toString();
  +        partUri = _resolveRelativeUri(uri);
         } else {
  -        partUri = referencedLibraryUri;
  -      }
  -      return <String>[referencedLibraryUri, partUri, name];
  -    }
  +        partUri = libraryUriStr;
  +      }
  +      return <String>[libraryUriStr, partUri, name];
  +    }
  +
       LinkedDependency dependency = linkedLibrary.dependencies[dependencyIndex];
  -    Source referencedLibrarySource = summaryResynthesizer.sourceFactory
  -        .resolveUri(librarySource, dependency.uri);
  -    String referencedLibraryUri = referencedLibrarySource.uri.toString();
  +    String referencedLibraryUri = _resolveRelativeUri(dependency.uri);
  +
       String partUri;
       if (unit != 0) {
         String uri = dependency.parts[unit - 1];
  -      Source partSource =
  -          summaryResynthesizer.sourceFactory.resolveUri(librarySource, uri);
  -      partUri = partSource.uri.toString();
  +      partUri = _resolveRelativeUri(uri);
       } else {
         partUri = referencedLibraryUri;
       }
  
positive.code:   /**
     * The URI of [librarySource].
     */
    String libraryUri;
  
    /**
     * Indicates whether [librarySource] is the `dart:core` library.
  
negative.code: import 'package:analyzer/src/generated/resolver.dart';
  import 'package:analyzer/src/generated/source_io.dart';
  import 'package:analyzer/src/generated/testing/ast_test_factory.dart';
  import 'package:analyzer/src/generated/utilities_dart.dart';
  import 'package:analyzer/src/summary/expr_builder.dart';
  import 'package:analyzer/src/summary/format.dart';
  import 'package:analyzer/src/summary/idl.dart';
  