We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 671f294 commit 1a7d856Copy full SHA for 1a7d856
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -2123,8 +2123,6 @@ object SymDenotations {
2123
if (pcls.isCompleting) recur(pobjs1, acc)
2124
else {
2125
val pmembers = pcls.computeNPMembersNamed(name).filterWithPredicate { d =>
2126
- // Drop members of `Any` and `Object`, as well as top-level definitions
2127
- // in the empty package that are not defined in the current run.
2128
val owner = d.symbol.maybeOwner
2129
(owner ne defn.AnyClass) && (owner ne defn.ObjectClass)
2130
}
0 commit comments