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/js.js

Issue 1710583002: Fix tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix hints and reformat Created 4 years, 10 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/collection.js ('k') | lib/src/codegen/assignments_index.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index 6deccb0101680e66b9490bdb4d0cce567a137862..5dd7385b585b5d89139320735f4c71c389e891ed 100644
--- a/lib/runtime/dart/js.js
+++ b/lib/runtime/dart/js.js
@@ -174,7 +174,7 @@ dart_library.library('dart/js', null, /* Imports */[
from(other) {
super._fromJs((() => {
let _ = [];
- _[dartx.addAll](other[dartx.map](dart.as(_convertToJS, __CastType0)));
+ _[dartx.addAll](other[dartx.map](_convertToJS));
return _;
})());
}
@@ -402,11 +402,6 @@ dart_library.library('dart/js', null, /* Imports */[
return ret;
}
dart.fn(allowInteropCaptureThis, core.Function, [core.Function]);
- const __CastType0$ = dart.generic(function(E) {
- const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(dart.dynamic, [E]));
- return __CastType0;
- });
- let __CastType0 = __CastType0$();
// Exports:
exports.JsObject = JsObject;
exports.JsFunction = JsFunction;
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/src/codegen/assignments_index.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698