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

Unified Diff: lib/runtime/dart/collection.js

Issue 1085723002: fixes for angular hello: String + and disable broken arg parsing (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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: 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}`;

Powered by Google App Engine
This is Rietveld 408576698