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

Unified Diff: lib/coreimpl/collections.dart

Issue 11233032: [core] cleanup === and !== (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 months 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 | « lib/coreimpl/arrays.dart ('k') | lib/coreimpl/date.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/collections.dart
===================================================================
--- lib/coreimpl/collections.dart (revision 13874)
+++ lib/coreimpl/collections.dart (working copy)
@@ -155,7 +155,7 @@
*/
static _containsRef(Collection c, Object ref) {
for (var e in c) {
- if (e === ref) return true;
+ if (identical(e, ref)) return true;
}
return false;
}
« no previous file with comments | « lib/coreimpl/arrays.dart ('k') | lib/coreimpl/date.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698