Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Unified Diff: sdk/lib/core/set.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 80chars. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/core/set.dart
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart
index 7c1f2a748ce1b0790c3f7e99751b60b6fabcf33c..a3eedb832ac6e8a3f2b00d964efed0f77ab51bd9 100644
--- a/sdk/lib/core/set.dart
+++ b/sdk/lib/core/set.dart
@@ -234,7 +234,7 @@ class _HashSetIterator<E> implements Iterator<E> {
do {
if (++_nextValidIndex >= length) break;
entry = _entries[_nextValidIndex];
- } while ((entry === null) || (entry === deletedKey));
+ } while ((entry == null) || (entry === deletedKey));
Lasse Reichstein Nielsen 2012/11/12 13:10:41 Convert other === too, to identical.
floitsch 2012/11/12 22:18:43 Done.
}
// The entries in the set. May contain null or the sentinel value.

Powered by Google App Engine
This is Rietveld 408576698