Index: utils/pub/version_solver.dart |
diff --git a/utils/pub/version_solver.dart b/utils/pub/version_solver.dart |
index 0b1a46b9fc5b691eaba343a1836a31b577d0cc41..e0cf2be80a586e80b9b6a3d99f41c5ad6ae7ff5f 100644 |
--- a/utils/pub/version_solver.dart |
+++ b/utils/pub/version_solver.dart |
@@ -557,7 +557,7 @@ class Dependency { |
*/ |
VersionConstraint get constraint { |
if (_refs.isEmpty) return null; |
- return new VersionConstraint.intersect( |
+ return new VersionConstraint.intersection( |
_refs.values.map((ref) => ref.constraint)); |
} |