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); |