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

Unified Diff: lib/runtime/dart/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/math.js ('k') | lib/src/analysis_context.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/mirrors.js
diff --git a/lib/runtime/dart/mirrors.js b/lib/runtime/dart/mirrors.js
index 4ea98e549caa496b411f4dc5330359702ff540ab..9a2359df16552369d7c7fcefd88219010aadadf8 100644
--- a/lib/runtime/dart/mirrors.js
+++ b/lib/runtime/dart/mirrors.js
@@ -8,7 +8,7 @@ dart_library.library('dart/mirrors', null, /* Imports */[
let dartx = dart.dartx;
class MirrorSystem extends core.Object {
findLibrary(libraryName) {
- return this.libraries.values[dartx.singleWhere](dart.fn(library => dart.equals(dart.dload(library, 'simpleName'), libraryName), core.bool, [dart.dynamic]));
+ return this.libraries.values[dartx.singleWhere](dart.fn(library => dart.equals(library.simpleName, libraryName), core.bool, [LibraryMirror]));
}
static getName(symbol) {
return _js_mirrors.getName(symbol);
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/src/analysis_context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698