File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
scala3doc/src/dotty/dokka/tasty Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ trait ClassLikeSupport:
71
71
if (signatureOnly) baseExtra
72
72
else
73
73
baseExtra.plus(CompositeMemberExtension (
74
- classDef.extractPatchedMembers ,
74
+ classDef.extractMembers ,
75
75
classDef.getParents.map(_.dokkaType.asSignature),
76
76
supertypes,
77
77
Nil ))
@@ -189,7 +189,10 @@ trait ClassLikeSupport:
189
189
).map(_.withOrigin(Origin .InheritedFrom (s.symbol.owner.normalizedName, s.symbol.owner.dri)))
190
190
191
191
extension (c : ClassDef ):
192
- def membersToDocument = c.body.filterNot(_.symbol.isHiddenByVisibility)
192
+ def membersToDocument =
193
+ c.symbol.getAllMembers.filterNot(s => s.isHiddenByVisibility || s.maybeOwner != c.symbol)
194
+ .map(_.tree)
195
+ // .body.filterNot(_.symbol.isHiddenByVisibility)
193
196
194
197
def getNonTrivialInheritedMemberTrees =
195
198
c.symbol.getAllMembers.filterNot(s => s.isHiddenByVisibility || s.maybeOwner == c.symbol)
You can’t perform that action at this time.
0 commit comments