Skip to content

Commit

Permalink
Merge pull request #400 from sjrd/fix-package-ref-inherited-member-lo…
Browse files Browse the repository at this point in the history
…okup

Fix #398: Include inherited members in the PackageRef fallback lookup.
  • Loading branch information
sjrd authored Nov 28, 2023
2 parents d6adb02 + 381d48e commit b8008da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasty-query/shared/src/main/scala/tastyquery/Types.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ object Types {
.allPackageObjectDecls()
.iterator
.map { cls =>
cls.getDecl(name) match
cls.getMember(name) match
case None => ResolveMemberResult.NotFound
case Some(decl) => makeResult(decl, cls.moduleValue.get.staticRef)
}
Expand Down

0 comments on commit b8008da

Please sign in to comment.