| Index: lib/runtime/dart/collection.js
|
| diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
|
| index e8e2c690ffaa20447b1859c32eff0d017bf289b8..f03a8184e3d7ab67ce20a83c1e5827b221a34e7b 100644
|
| --- a/lib/runtime/dart/collection.js
|
| +++ b/lib/runtime/dart/collection.js
|
| @@ -242,7 +242,7 @@ var collection;
|
| if (!dart.notNull(iterator.moveNext()))
|
| return "";
|
| let buffer = new core.StringBuffer();
|
| - if (dart.notNull(separator == null) || dart.notNull(separator == "")) {
|
| + if (separator == null || separator == "") {
|
| do {
|
| buffer.write(`${iterator.current}`);
|
| } while (iterator.moveNext());
|
| @@ -488,7 +488,7 @@ var collection;
|
| if (!dart.notNull(iterator.moveNext()))
|
| return "";
|
| let buffer = new core.StringBuffer();
|
| - if (dart.notNull(separator == null) || dart.notNull(separator == "")) {
|
| + if (separator == null || separator == "") {
|
| do {
|
| buffer.write(`${iterator.current}`);
|
| } while (iterator.moveNext());
|
| @@ -689,7 +689,7 @@ var collection;
|
| if (!dart.notNull(iterator.moveNext()))
|
| return "";
|
| let buffer = new core.StringBuffer();
|
| - if (dart.notNull(separator == null) || dart.notNull(separator == "")) {
|
| + if (separator == null || separator == "") {
|
| do {
|
| buffer.write(`${iterator.current}`);
|
| } while (iterator.moveNext());
|
| @@ -833,7 +833,7 @@ var collection;
|
| if (rightDelimiter === void 0)
|
| rightDelimiter = ')';
|
| if (IterableBase[_isToStringVisiting](iterable)) {
|
| - if (dart.notNull(leftDelimiter == "(") && dart.notNull(rightDelimiter == ")")) {
|
| + if (leftDelimiter == "(" && rightDelimiter == ")") {
|
| return "(...)";
|
| }
|
| return `${leftDelimiter}...${rightDelimiter}`;
|
|
|