Index: lib/src/package.dart |
diff --git a/lib/src/package.dart b/lib/src/package.dart |
index e82f4da0306ea43aed9150cf63e1a16bad65f5c5..23c1d738c44d5249fa976b9f422417ff394b213a 100644 |
--- a/lib/src/package.dart |
+++ b/lib/src/package.dart |
@@ -482,7 +482,7 @@ class PackageDep extends _PackageName { |
return "$name $constraint from $source ($description)"; |
} |
- int get hashCode => name.hashCode ^ source.hashCode; |
+ int get hashCode => name.hashCode ^ source.hashCode ^ constraint.hashCode; |
bool operator ==(other) { |
// TODO(rnystrom): We're assuming here that we don't need to delve into the |