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

Unified Diff: runtime/lib/growable_array.dart

Issue 18837002: Move toString() to collection classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments. Created 7 years, 5 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
Index: runtime/lib/growable_array.dart
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart
index d58492e9a7ad69c608550593581e242bc25588b3..abeb9ab2eff0beffbe56789d449bb2c7b54476fb 100644
--- a/runtime/lib/growable_array.dart
+++ b/runtime/lib/growable_array.dart
@@ -337,9 +337,9 @@ class _GrowableObjectArray<T> implements List<T> {
}
String toString() {
- return ToString.iterableToString(this);
+ return IterableMixinWorkaround.toStringList(this);
}
-
+
Lasse Reichstein Nielsen 2013/07/09 06:15:44 Space.
zarah 2013/07/09 08:20:54 Done.
Iterator<T> get iterator {
return new ListIterator<T>(this);
}

Powered by Google App Engine
This is Rietveld 408576698