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

Unified Diff: sdk/lib/_internal/dartdoc/lib/dartdoc.dart

Issue 11363076: Add isParameter, change isField to isVariable on MemberMirror (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | sdk/lib/_internal/dartdoc/lib/mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
index e91c903b63d76ec50240c0dc89a099b7164a6b60..a4a2a63d36f3eafc43640e6c9c0bce2a7aca26b6 100644
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
@@ -625,7 +625,7 @@ class Dartdoc {
if (!showPrivate && member.isPrivate) continue;
var memberInfo = {};
- if (member.isField) {
+ if (member.isVariable) {
memberInfo[KIND] = FIELD;
} else {
MethodMirror method = member;
@@ -1068,7 +1068,7 @@ class Dartdoc {
}
if (!inherit) return;
- if (member.isField) {
+ if (member.isVariable) {
// Fields override both getters and setters.
memberMap.putIfAbsent(member.simpleName, () => member);
memberMap.putIfAbsent('${member.simpleName}=', () => member);
« no previous file with comments | « no previous file | sdk/lib/_internal/dartdoc/lib/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698