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 d60c82b commit 398bb0eCopy full SHA for 398bb0e
src/compiler/scala/tools/nsc/transform/Fields.scala
@@ -647,7 +647,7 @@ abstract class Fields extends InfoTransform with ast.TreeDSL with TypingTransfor
647
648
if (rhs == EmptyTree) mkAccessor(statSym)(EmptyTree)
649
else if (clazz.isTrait) mkAccessor(statSym)(transformedRhs)
650
- else if (!clazz.isClass) mkLazyLocalDef(vd.symbol, rhs)
+ else if (!clazz.isClass) mkLazyLocalDef(vd.symbol, transformedRhs)
651
else {
652
// TODO: make `synthAccessorInClass` a field and update it in atOwner?
653
// note that `LazyAccessorTreeSynth` is pretty lightweight
0 commit comments