Skip to content

Commit 9c30ae0

Browse files
committed
Fix usage of context
1 parent c28064c commit 9c30ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
143143
val (uptoSuperStats, remainingConstrStats) = splitAtSuper(impl.constr.rhs.asInstanceOf[Block].stats)
144144
val clInitSymbol: TermSymbol =
145145
if (clinits.nonEmpty) clinits.head.symbol.asTerm
146-
else ctx.newSymbol(
146+
else newSymbol(
147147
claszSymbol,
148148
nme.STATIC_CONSTRUCTOR,
149149
JavaStatic | Method,
@@ -152,7 +152,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
152152
coord = claszSymbol.coord
153153
)
154154

155-
val moduleField = ctx.newSymbol(
155+
val moduleField = newSymbol(
156156
claszSymbol,
157157
str.MODULE_INSTANCE_FIELD.toTermName,
158158
JavaStatic | Final,

0 commit comments

Comments
 (0)