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

Unified Diff: pkg/docgen/lib/docgen.dart

Issue 151693002: Fix missing .mirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/docgen.dart
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
index 37750b8c651fedaa44f14835224ab825592533a5..9363b5fd59e9d00330df1c643933c798d9af87c4 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -1579,7 +1579,9 @@ class Class extends OwnedIndexable implements Comparable {
/// superclass of the private superclass.
String validSuperclass() {
if (superclass == null) return 'dart.core.Object';
- if (superclass._isVisible) return dart2js_util.qualifiedNameOf(superclass);
+ if (superclass._isVisible) {
+ return dart2js_util.qualifiedNameOf(superclass.mirror);
Johnni Winther 2014/01/31 19:19:45 Maybe this should just be `return superclass.quali
floitsch 2014/02/01 02:01:15 Seattle (Emily and Alan) agreed to fix this.
+ }
return superclass.validSuperclass();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698