Thanks to visit codestin.com Credit goes to github.com
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 ac35aeb commit eb05421Copy full SHA for eb05421
src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -334,8 +334,9 @@ trait Contexts { self: Analyzer =>
334
335
val mdef0 = typer.typed(mdef)
336
val msym0 = mdef0.symbol
337
+ val moduleClassInfo = mdef0.symbol.moduleClass.info
338
val vsyms0 = vsyms.map { vsym =>
- mdef0.symbol.moduleClass.asClass.toType.decl(vsym.name)
339
+ moduleClassInfo.decl(vsym.name)
340
}
341
342
val vsymMap = (vsyms zip vsyms0).toMap
0 commit comments