Index: sdk/lib/_internal/pub/lib/src/git_source.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/git_source.dart b/sdk/lib/_internal/pub/lib/src/git_source.dart |
index c98616d195d5eb2ee4615c57a67c512d40440406..bccae276d01fb515cdb1c33c9dc6af98af3a0fa9 100644 |
--- a/sdk/lib/_internal/pub/lib/src/git_source.dart |
+++ b/sdk/lib/_internal/pub/lib/src/git_source.dart |
@@ -112,12 +112,12 @@ class GitSource extends Source { |
return _revisionAt(id).then((revision) { |
var description = {'url': _getUrl(id), 'ref': _getRef(id)}; |
description['resolved-ref'] = revision; |
- return new PackageId(id.name, this, id.version, description); |
+ return new PackageId(id.name, name, id.version, description); |
}); |
} |
// TODO(keertip): Implement getCachedPackages(). |
- |
+ |
/// Ensure that the canonical clone of the repository referred to by [id] (the |
/// one in `<system cache>/git/cache`) exists and is up-to-date. Returns a |
/// future that completes once this is finished and throws an exception if it |