Docgen inherited variables don't get inheritedFrom set #16783
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
closed-obsolete
Closed as the reported issue is no longer relevant
Consider
/// This is a comment for the library.
library hello;
class T1 {
bool foo = true;
bool bar() => true;
}
class T2 extends T1 {
}
main() {
print(new T2.blah(true));
}
which produces JSON with the qualified name set on foo but not the inheritedFrom. For the bar method it does set the inheritedFrom field.
"inheritedVariables": {
"foo": {
"name": "foo",
"qualifiedName": "hello.T1.foo",
"comment": "",
"final": "false",
"static": "false",
"constant": "false",
"type": [
{
"outer": "dart-core.bool",
"inner": [
]
}
],
"annotations": [
]
}
},
The text was updated successfully, but these errors were encountered: