Skip to content

Commit 4cd9626

Browse files
committed
Avoid Ycheck errors
Ycheck will check that each class member has a corresponding tree in the template. We thus don't enter `clinit` as a member as we cannot update the template.
1 parent 7e232e7 commit 4cd9626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
129129
MethodType(Nil)(_ => Nil, _ => defn.UnitType),
130130
privateWithin = NoSymbol,
131131
coord = claszSymbol.coord
132-
).entered
132+
)
133133

134134
val moduleField = ctx.newSymbol(
135135
claszSymbol,

0 commit comments

Comments
 (0)