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

Unified Diff: utils/pub/entrypoint.dart

Issue 10690032: Make VersionSolver source- and description-aware. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years, 6 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
« no previous file with comments | « no previous file | utils/pub/git_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/entrypoint.dart
diff --git a/utils/pub/entrypoint.dart b/utils/pub/entrypoint.dart
index 7b3e66644c6ef368f7eeb24d19aceda6e1a42d7f..deb4afa168fe455185a9a36df9ae0f1a5ace13f5 100644
--- a/utils/pub/entrypoint.dart
+++ b/utils/pub/entrypoint.dart
@@ -140,7 +140,6 @@ class Entrypoint {
// TODO(rnystrom): This should use the lockfile to select the right version
// once that's implemented. If the lockfile doesn't exist, it should
// generate it. In the meantime, here's a dumb implementation:
- return new Future.immediate(
- new PackageId(ref.source, ref.constraint, ref.description));
+ return new Future.immediate(ref.atVersion(ref.constraint));
}
}
« no previous file with comments | « no previous file | utils/pub/git_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698