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 157c4ac commit ed5f2c0Copy full SHA for ed5f2c0
compiler/src/dotty/tools/dotc/transform/SymUtils.scala
@@ -173,7 +173,7 @@ object SymUtils:
173
else {
174
val children = self.children
175
val companionMirror = self.useCompanionAsSumMirror
176
- val ownerScope = if pre.isInstanceOf[SingletonType] then pre.parentSymbols(_.isClass) else Nil
+ val ownerScope = if pre.isInstanceOf[SingletonType] then pre.classSymbols else Nil
177
def problem(child: Symbol) = {
178
179
def accessibleMessage(sym: Symbol): String =
0 commit comments