Index: runtime/lib/typed_data.dart |
=================================================================== |
--- runtime/lib/typed_data.dart (revision 29679) |
+++ runtime/lib/typed_data.dart (working copy) |
@@ -511,7 +511,7 @@ |
} |
List sublist(int start, [int end]) { |
- if (end == null) end = length; |
+ if (end == null) end = this.length; |
int length = end - start; |
_rangeCheck(this.length, start, length); |
List result = _createList(length); |