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 7be702b commit 5b2ec61Copy full SHA for 5b2ec61
compiler/src/dotty/tools/dotc/core/SymUtils.scala
@@ -181,7 +181,7 @@ class SymUtils:
181
else {
182
val children = self.children
183
val companionMirror = self.useCompanionAsSumMirror
184
- val ownerScope = if pre.isInstanceOf[SingletonType] then pre.parentSymbols(_.isClass) else Nil
+ val ownerScope = if pre.isInstanceOf[SingletonType] then pre.classSymbols else Nil
185
def problem(child: Symbol) = {
186
187
def accessibleMessage(sym: Symbol): String =
0 commit comments