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

Unified Diff: runtime/lib/growable_array.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 | « runtime/lib/expando_patch.dart ('k') | runtime/lib/immutable_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/growable_array.dart
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart
index a8462a37d0ef02d39b10469c83fe0b36ce7b8fa9..d02cccca0bc8bfb6014aeb7b10c8f0ddc0ddf14e 100644
--- a/runtime/lib/growable_array.dart
+++ b/runtime/lib/growable_array.dart
@@ -154,7 +154,7 @@ class _GrowableObjectArray<T> implements List<T> {
}
int lastIndexOf(T element, [int start = null]) {
- if (start === null) start = length - 1;
+ if (start == null) start = length - 1;
return Arrays.lastIndexOf(this, element, start);
}
@@ -200,7 +200,7 @@ class _GrowableObjectArray<T> implements List<T> {
}
bool get isEmpty {
- return this.length === 0;
+ return this.length == 0;
}
void clear() {
« no previous file with comments | « runtime/lib/expando_patch.dart ('k') | runtime/lib/immutable_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698