diff --git a/compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala b/compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala index 33c0e68c7068..2ad58fea4cd1 100644 --- a/compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala +++ b/compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala @@ -398,7 +398,7 @@ trait BCodeHelpers extends BCodeIdiomatic { val memberTpe = if (sym.is(Method)) sym.denot.info else if sym.denot.validFor.phaseId > erasurePhase.id && sym.isField && sym.getter.exists then - // Memoization field of getter entered after erasure, see run/i16069 for an example + // Memoization field of getter entered after erasure, see run/i17069 for an example sym.getter.denot.info.resultType else owner.denot.thisType.memberInfo(sym) getGenericSignatureHelper(sym, owner, memberTpe).orNull