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

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

Issue 1169473003: fixes #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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/_isolate_helper.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_helper.js
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
index 1263c5320192f28f7767e1af650eb819b2edc2f5..abd9a93d6e7dd93ee4e07bc832d010bb5158b2e2 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -142,7 +142,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
return new (_ConstantMapKeyIterable$(K))(this);
}
get values() {
- return _internal.MappedIterable$(K, V).new(this[_keys], dart.fn((key => dart.as(this[_fetch](key), V)).bind(this), V, [core.Object]));
+ return _internal.MappedIterable$(K, V).new(this[_keys], dart.fn(key => dart.as(this[_fetch](key), V), V, [core.Object]));
}
}
ConstantStringMap[dart.implements] = () => [_internal.EfficientLength];
@@ -1825,13 +1825,13 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
let _ = positions.keys[core.$toList]();
_[core.$sort]();
return _;
- })()[core.$forEach](dart.fn((name => {
+ })()[core.$forEach](dart.fn(name => {
this.cachedSortedIndices[core.$set]((() => {
let x = index;
index = dart.notNull(x) + 1;
return x;
})(), positions.get(name));
- }).bind(this), core.Object, [core.String]));
+ }, core.Object, [core.String]));
}
return dart.as(this.cachedSortedIndices[core.$get](unsortedIndex), core.int);
}
« no previous file with comments | « lib/runtime/dart/_isolate_helper.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698