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

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

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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/_js_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_mirrors.js
diff --git a/lib/runtime/dart/_js_mirrors.js b/lib/runtime/dart/_js_mirrors.js
index 0be83bb5b64681defeab2a6338e30e893246ad0f..a86d1ff9a52962989cd8bd9e950b83913b0bbaad 100644
--- a/lib/runtime/dart/_js_mirrors.js
+++ b/lib/runtime/dart/_js_mirrors.js
@@ -80,7 +80,7 @@ dart_library.library('dart/_js_mirrors', null, /* Imports */[
let obj = {};
map.forEach(dart.fn((key, value) => {
obj[getName(key)] = value;
- }, dart.dynamic, [core.Symbol, dart.dynamic]));
+ }, dart.void, [core.Symbol, dart.dynamic]));
return obj;
}
}
@@ -129,7 +129,7 @@ dart_library.library('dart/_js_mirrors', null, /* Imports */[
return dart.list([], mirrors.ClassMirror);
} else {
let interfaces = dart.as(dart.dcall(interfaceThunk), core.List$(core.Type));
- return interfaces[dartx.map](dart.fn(t => new JsClassMirror._(dart.as(t, core.Type)), JsClassMirror, [dart.dynamic]))[dartx.toList]();
+ return interfaces[dartx.map](dart.fn(t => new JsClassMirror._(t), JsClassMirror, [core.Type]))[dartx.toList]();
}
}
getField(fieldName) {
« no previous file with comments | « lib/runtime/dart/_js_helper.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698