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

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

Issue 1039243002: fix temp used in postfix ops (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 9b0eaadf94e9b7cf22d5698587295e2ed9c77f0e..db806fb31f368a2a40edc09e51777d9b52a0f1d9 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -166,7 +166,7 @@ var collection;
}).bind(this)(new core.List()) : new core.List(this.length);
let i = 0;
for (let element of this)
- result.set(((x) => i = dart.notNull(x$) + 1, x$)(i), element);
+ result.set(((x$) => i = dart.notNull(x$) + 1, x$)(i), element);
return result;
}
map(f) {
@@ -1473,11 +1473,11 @@ var collection;
return result;
}
add(element) {
- this.set(((x) => this.length = dart.notNull(x$) + 1, x$).bind(this)(this.length), element);
+ this.set(((x$) => this.length = dart.notNull(x$) + 1, x$).bind(this)(this.length), element);
}
addAll(iterable) {
for (let element of iterable) {
- this.set(((x) => this.length = dart.notNull(x$) + 1, x$).bind(this)(this.length), element);
+ this.set(((x$) => this.length = dart.notNull(x$) + 1, x$).bind(this)(this.length), element);
}
}
remove(element) {
@@ -1707,7 +1707,7 @@ var collection;
this.setRange(index, dart.notNull(index) + dart.notNull(iterable.length), iterable);
} else {
for (let element of iterable) {
- this.set(((x) => index = dart.notNull(x$) + 1, x$)(index), element);
+ this.set(((x$) => index = dart.notNull(x$) + 1, x$)(index), element);
}
}
}
« 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