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

Unified Diff: runtime/lib/array.dart

Issue 297053002: Reinstall previous behavior for Set and Queue toString. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 7 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 | « no previous file | runtime/lib/growable_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]) {
« no previous file with comments | « no previous file | runtime/lib/growable_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698