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 c28064c commit 9c30ae0Copy full SHA for 9c30ae0
compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala
@@ -143,7 +143,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
143
val (uptoSuperStats, remainingConstrStats) = splitAtSuper(impl.constr.rhs.asInstanceOf[Block].stats)
144
val clInitSymbol: TermSymbol =
145
if (clinits.nonEmpty) clinits.head.symbol.asTerm
146
- else ctx.newSymbol(
+ else newSymbol(
147
claszSymbol,
148
nme.STATIC_CONSTRUCTOR,
149
JavaStatic | Method,
@@ -152,7 +152,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
152
coord = claszSymbol.coord
153
)
154
155
- val moduleField = ctx.newSymbol(
+ val moduleField = newSymbol(
156
157
str.MODULE_INSTANCE_FIELD.toTermName,
158
JavaStatic | Final,
0 commit comments