We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8605c63 commit 6d3fa1fCopy full SHA for 6d3fa1f
scaladoc/src/dotty/tools/scaladoc/tasty/comments/MemberLookup.scala
@@ -144,9 +144,9 @@ trait MemberLookup {
144
}
145
146
if owner.isPackageDef then
147
- findMatch(hackMembersOf(owner) ++ hackMembersOf(owner).flatMap {
+ findMatch(hackMembersOf(owner).flatMap {
148
s =>
149
- if s.name.endsWith("package$") then hackMembersOf(s) else Iterator.empty
+ (if s.name.endsWith("package$") then hackMembersOf(s) else Iterator.empty) ++ Iterator(s)
150
})
151
else
152
owner.tree match {
0 commit comments