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

Unified Diff: dart/lib/dartdoc/mirrors/dart2js_mirror.dart

Issue 10826243: Restore lazy parsing of classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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 | « dart/lib/compiler/implementation/world.dart ('k') | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/dartdoc/mirrors/dart2js_mirror.dart
diff --git a/dart/lib/dartdoc/mirrors/dart2js_mirror.dart b/dart/lib/dartdoc/mirrors/dart2js_mirror.dart
index 5f1f3d99d2e67bf60677bdf055c215179c1ab8cd..9d0e81a317c5248add07e2deacd672c1177b0aab 100644
--- a/dart/lib/dartdoc/mirrors/dart2js_mirror.dart
+++ b/dart/lib/dartdoc/mirrors/dart2js_mirror.dart
@@ -499,6 +499,7 @@ class Dart2JsLibraryMirror extends Dart2JsObjectMirror
_library.forEachExport((Element e) {
if (e.getLibrary() == _library) {
if (e.isClass()) {
+ e.ensureResolved(system.compiler);
var type = new Dart2JsInterfaceMirror.fromLibrary(this, e);
_types[type.canonicalName] = type;
} else if (e.isTypedef()) {
« no previous file with comments | « dart/lib/compiler/implementation/world.dart ('k') | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698