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

Unified Diff: utils/pub/pubspec.dart

Issue 10704172: Hook in the version solver to pub install. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « utils/pub/entrypoint.dart ('k') | utils/pub/repo_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/pubspec.dart
diff --git a/utils/pub/pubspec.dart b/utils/pub/pubspec.dart
index 428ebe72899eea60f028514c9856d47250c3b2ee..d3a5bb8358969f383f7c7386b68a910b90f392b4 100644
--- a/utils/pub/pubspec.dart
+++ b/utils/pub/pubspec.dart
@@ -60,10 +60,7 @@ class Pubspec {
dependencyEntries.forEach((name, spec) {
var description, source;
- // TODO(nweiz): The correct default for versionConstraint is new
- // VersionRange(), but that won't work until the version solver is
- // hooked in.
- var versionConstraint = Version.none;
+ var versionConstraint = new VersionRange();
if (spec == null) {
description = name;
source = sources.defaultSource;
« no previous file with comments | « utils/pub/entrypoint.dart ('k') | utils/pub/repo_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698