Index: sdk/lib/collection/collections.dart |
diff --git a/sdk/lib/collection/collections.dart b/sdk/lib/collection/collections.dart |
index f0f05465493e9610dede01d5181e4f14bb8a3fa8..646f6e755036bf200b70d2b67edb81672f9744c0 100644 |
--- a/sdk/lib/collection/collections.dart |
+++ b/sdk/lib/collection/collections.dart |
@@ -157,7 +157,7 @@ class Collections { |
*/ |
static _containsRef(Collection c, Object ref) { |
for (var e in c) { |
- if (e === ref) return true; |
+ if (identical(e, ref)) return true; |
} |
return false; |
} |