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

Unified Diff: utils/pub/pubspec.dart

Issue 10666042: Reverting 9094 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « utils/pub/pub.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 6fe4ff8cba8c4930052e18dc6d486f79b2331bec..d038779acd5ffc17cf125ddb657aba43926b141d 100644
--- a/utils/pub/pubspec.dart
+++ b/utils/pub/pubspec.dart
@@ -59,11 +59,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 description, source, versionConstraint;
if (spec == null) {
description = name;
source = sources.defaultSource;
« no previous file with comments | « 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