Index: utils/pub/utils.dart |
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart |
index 4eb840a7a1777121c63ecbe8c475f6d0b2789279..097f60ff68a31a67d38d5651b9c1a36cc01cc8dc 100644 |
--- a/utils/pub/utils.dart |
+++ b/utils/pub/utils.dart |
@@ -24,6 +24,11 @@ class Pair<E, F> { |
Pair(this.first, this.last); |
String toString() => '($first, $last)'; |
+ |
+ bool operator==(other) { |
+ if (other is! Pair) return false; |
+ return other.first == first && other.last == last; |
+ } |
} |
// TODO(rnystrom): Move into String? |