Index: runtime/lib/array.dart |
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart |
index c86ff8fcc4fd3e075d34af46d989bd1a087bad4c..dd3e03fc33fb934e6eb2a3cc9b93eb0ddf503675 100644 |
--- a/runtime/lib/array.dart |
+++ b/runtime/lib/array.dart |
@@ -14,7 +14,7 @@ class _List<E> implements List<E> { |
void operator []=(int index, E value) native "List_setIndexed"; |
String toString() { |
- return IterableMixinWorkaround.toStringIterable(this,'[' , ']'); |
+ return ListBase.listToString(this); |
} |
int get length native "List_getLength"; |
@@ -443,7 +443,7 @@ class _ImmutableList<E> implements List<E> { |
} |
String toString() { |
- return IterableMixinWorkaround.toStringIterable(this, '[', ']'); |
+ return ListBase.listToString(this); |
} |
int indexOf(Object element, [int start = 0]) { |