Index: sdk/lib/_collection_dev/iterable.dart |
diff --git a/sdk/lib/_collection_dev/iterable.dart b/sdk/lib/_collection_dev/iterable.dart |
index daad6af71c16d79ce09de411b11009973c7384a6..0ae6c67664eb48fe57b1951fdeca96329ac40c32 100644 |
--- a/sdk/lib/_collection_dev/iterable.dart |
+++ b/sdk/lib/_collection_dev/iterable.dart |
@@ -176,8 +176,8 @@ abstract class ListIterable<E> extends Iterable<E> { |
} |
StringBuffer buffer = new StringBuffer(first); |
for (int i = 1; i < length; i++) { |
- buffer.add(separator); |
- buffer.add("${elementAt(i)}"); |
+ buffer.write(separator); |
+ buffer.write("${elementAt(i)}"); |
if (length != this.length) { |
throw new ConcurrentModificationError(this); |
} |
@@ -186,7 +186,7 @@ abstract class ListIterable<E> extends Iterable<E> { |
} else { |
StringBuffer buffer = new StringBuffer(); |
for (int i = 0; i < length; i++) { |
- buffer.add("${elementAt(i)}"); |
+ buffer.write("${elementAt(i)}"); |
if (length != this.length) { |
throw new ConcurrentModificationError(this); |
} |