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

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

Issue 1117333002: Fix some static member emits (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: reformat 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 | « no previous file | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index 8884b3a8160e29721873af07bcbc75ffa935528b..3b822d88b8af849b1ff5c2a1654615be8181b062 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -351,7 +351,6 @@ var _internal;
return _Transformation;
});
let _Transformation = _Transformation$();
- let _ = dart.JsSymbol('_');
let _f = dart.JsSymbol('_f');
let MappedIterable$ = dart.generic(function(S, T) {
class MappedIterable extends collection.IterableBase$(T) {
@@ -359,7 +358,7 @@ var _internal;
if (dart.is(iterable, EfficientLength)) {
return new (EfficientLengthMappedIterable$(S, T))(iterable, func);
}
- return new MappedIterable$(S, T)[_](dart.as(iterable, core.Iterable$(S)), func);
+ return new MappedIterable$(S, T)._(dart.as(iterable, core.Iterable$(S)), func);
}
_(iterable, f) {
this[_iterable] = iterable;
@@ -547,7 +546,7 @@ var _internal;
if (dart.is(iterable, EfficientLength)) {
return new (EfficientLengthTakeIterable$(E))(iterable, takeCount);
}
- return new TakeIterable$(E)[_](iterable, takeCount);
+ return new TakeIterable$(E)._(iterable, takeCount);
}
_(iterable, takeCount) {
this[_iterable] = iterable;
@@ -650,7 +649,7 @@ var _internal;
if (dart.is(iterable, EfficientLength)) {
return new (EfficientLengthSkipIterable$(E))(iterable, count);
}
- return new SkipIterable$(E)[_](iterable, count);
+ return new SkipIterable$(E)._(iterable, count);
}
_(iterable, skipCount) {
this[_iterable] = iterable;
@@ -666,7 +665,7 @@ var _internal;
throw new core.ArgumentError.value(this[_skipCount], "count is not an integer");
}
core.RangeError.checkNotNegative(this[_skipCount], "count");
- return new SkipIterable$(E)[_](this[_iterable], dart.notNull(this[_skipCount]) + dart.notNull(count));
+ return new SkipIterable$(E)._(this[_iterable], dart.notNull(this[_skipCount]) + dart.notNull(count));
}
get [core.$iterator]() {
return new (SkipIterator$(E))(this[_iterable][core.$iterator], this[_skipCount]);
« no previous file with comments | « no previous file | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698