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

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
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index 40357b4f38ab1f30c4d6e58b9341ab1d7cb5f2a5..0d83c67dfc0dad2cfb68fd47e234d0727a205f30 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}`;
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698