Index: runtime/lib/growable_array.dart |
=================================================================== |
--- runtime/lib/growable_array.dart (revision 29679) |
+++ runtime/lib/growable_array.dart (working copy) |
@@ -114,7 +114,7 @@ |
List<T> sublist(int start, [int end]) { |
Arrays.indicesCheck(this, start, end); |
- if (end == null) end = length; |
+ if (end == null) end = this.length; |
int length = end - start; |
if (start == end) return <T>[]; |
List list = new _GrowableList<T>.withCapacity(length); |