Index: utils/pub/version_solver.dart |
diff --git a/utils/pub/version_solver.dart b/utils/pub/version_solver.dart |
index 21f8cad5b38d5bdcd229332131285e8cf62e96d9..a45af911e1632894716748725d9262fce93729d1 100644 |
--- a/utils/pub/version_solver.dart |
+++ b/utils/pub/version_solver.dart |
@@ -189,12 +189,12 @@ class VersionSolver { |
} |
} |
- return dependency.dependers.mappedBy(getDependency).any((subdependency) => |
+ return dependency.dependers.map(getDependency).any((subdependency) => |
tryUnlockDepender(subdependency, seen)); |
} |
List<PackageId> buildResults() { |
- return _packages.values.where((dep) => dep.isDependedOn).mappedBy((dep) { |
+ return _packages.values.where((dep) => dep.isDependedOn).map((dep) { |
var description = dep.description; |
// If the lockfile contains a fully-resolved description for the package, |
@@ -507,7 +507,7 @@ class Dependency { |
VersionConstraint get constraint { |
if (_refs.isEmpty) return null; |
return new VersionConstraint.intersection( |
- _refs.values.mappedBy((ref) => ref.constraint)); |
+ _refs.values.map((ref) => ref.constraint)); |
} |
/// The source of this dependency's package. |