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

Unified Diff: utils/pub/pubspec.dart

Issue 10628016: Add a Pub source for pub.dartlang.org. (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
Index: utils/pub/pubspec.dart
diff --git a/utils/pub/pubspec.dart b/utils/pub/pubspec.dart
index d038779acd5ffc17cf125ddb657aba43926b141d..6fe4ff8cba8c4930052e18dc6d486f79b2331bec 100644
--- a/utils/pub/pubspec.dart
+++ b/utils/pub/pubspec.dart
@@ -59,7 +59,11 @@ class Pubspec {
}
dependencyEntries.forEach((name, spec) {
- var description, source, versionConstraint;
+ 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;
if (spec == null) {
description = name;
source = sources.defaultSource;
« utils/pub/io.dart ('K') | « utils/pub/pub.dart ('k') | utils/pub/repo_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698