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

Unified Diff: corelib/src/implementation/splay_tree.dart

Issue 8400038: Use strict equality when comparing with null, especially when null is a default value. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
Index: corelib/src/implementation/splay_tree.dart
===================================================================
--- corelib/src/implementation/splay_tree.dart (revision 855)
+++ corelib/src/implementation/splay_tree.dart (working copy)
@@ -187,7 +187,7 @@
current = current.left;
} else {
f(current.key, current.value);
- while (current.right == null) {
+ while (current.right === null) {
if (list.isEmpty()) return;
current = list.removeLast();
f(current.key, current.value);

Powered by Google App Engine
This is Rietveld 408576698