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 63e55a1 commit c597757Copy full SHA for c597757
src/dotty/tools/dotc/transform/LazyVals.scala
@@ -353,7 +353,7 @@ class LazyVals extends MiniPhaseTransform with IdentityDenotTransformer {
353
val id = info.ord / flagsPerLong
354
val offsetById = offsetName(id)
355
if (ord != 0) { // there are unused bits in already existing flag
356
- offsetSymbol = claz.moduleClass.info.decl(offsetById)
+ offsetSymbol = claz.info.decl(offsetById)
357
.suchThat(sym => (sym is Flags.Synthetic) && sym.isTerm)
358
.symbol.asTerm
359
} else { // need to create a new flag
0 commit comments