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

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: Address comments. 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
« no previous file with comments | « sdk/lib/core/queue.dart ('k') | sdk/lib/core/stopwatch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/set.dart
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart
index 7c1f2a748ce1b0790c3f7e99751b60b6fabcf33c..21788974fded65340e7711c59843a9a94c101b30 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) || identical(entry, deletedKey));
}
// The entries in the set. May contain null or the sentinel value.
« no previous file with comments | « sdk/lib/core/queue.dart ('k') | sdk/lib/core/stopwatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698