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

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

Issue 138073013: Fix missing package qualifier for typedefs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « 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 9363b5fd59e9d00330df1c643933c798d9af87c4..960702e1efd5bdb6dc80cc15d69774ba81afada8 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -1355,6 +1355,8 @@ abstract class OwnedIndexable extends Indexable {
String get docName => owner.docName + '.' + dart2js_util.nameOf(mirror);
OwnedIndexable(DeclarationMirror mirror, this.owner) : super(mirror);
+
+ String get packagePrefix => owner.packagePrefix;
}
/// A class containing contents of a Dart class.
@@ -1451,8 +1453,6 @@ class Class extends OwnedIndexable implements Comparable {
interfaces.forEach((interface) => addInherited(interface));
}
- String get packagePrefix => owner.packagePrefix;
-
String _lookupInClassAndSuperclasses(String name) {
var lookupFunc = Indexable.determineLookupFunc(name);
var classScope = this;
@@ -1697,8 +1697,6 @@ class Variable extends OwnedIndexable {
'annotations': annotations.map((a) => a.toMap()).toList()
};
- String get packagePrefix => owner.packagePrefix;
-
String get typeName => 'property';
get comment {
@@ -1769,8 +1767,6 @@ class Method extends OwnedIndexable {
annotations = _createAnnotations(mirror, _getOwningLibrary(owner));
}
- String get packagePrefix => owner.packagePrefix;
-
Method get originallyInheritedFrom => methodInheritedFrom == null ?
this : methodInheritedFrom.originallyInheritedFrom;
« 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