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

Unified Diff: runtime/vm/snapshot_test.dart

Issue 8413018: More strict non-equal cleanups in library code (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
« no previous file with comments | « runtime/lib/isolate.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.dart
===================================================================
--- runtime/vm/snapshot_test.dart (revision 891)
+++ runtime/vm/snapshot_test.dart (working copy)
@@ -113,7 +113,7 @@
void push(int pile, TowersDisk disk) {
TowersDisk top = piles[pile];
- if ((top != null) && (disk.size >= top.size))
+ if ((top !== null) && (disk.size >= top.size))
Error.error("Cannot put a big disk on a smaller disk.");
disk.next = top;
piles[pile] = disk;
@@ -608,7 +608,7 @@
static bool isShorter(ListElement x, ListElement y) {
ListElement xTail = x;
ListElement yTail = y;
- while (yTail != null) {
+ while (yTail !== null) {
if (xTail === null) return true;
xTail = xTail.next;
yTail = yTail.next;
« no previous file with comments | « runtime/lib/isolate.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698