Index: runtime/lib/growable_array.dart |
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
index 5759178e8609c68362b633b77af9dbea899808bf..2d8a6c7c1b1a5c529ce6efe3a1193a97c65b7d9e 100644 |
--- a/runtime/lib/growable_array.dart |
+++ b/runtime/lib/growable_array.dart |
@@ -226,13 +226,13 @@ class _GrowableObjectArray<T> implements List<T> { |
StringBuffer buffer = new StringBuffer(); |
if (separator == null || separator == "") { |
for (int i = 0; i < this.length; i++) { |
- buffer.add("${this[i]}"); |
+ buffer.write("${this[i]}"); |
} |
} else { |
- buffer.add("${this[0]}"); |
+ buffer.write("${this[0]}"); |
for (int i = 1; i < this.length; i++) { |
- buffer.add(separator); |
- buffer.add("${this[i]}"); |
+ buffer.write(separator); |
+ buffer.write("${this[i]}"); |
} |
} |
return buffer.toString(); |