Skip to content

Commit 7345cef

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 43c2f47 commit 7345cef

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
@@ -128,7 +128,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
128128
MethodType(Nil)(_ => Nil, _ => defn.UnitType),
129129
privateWithin = NoSymbol,
130130
coord = claszSymbol.coord
131-
).entered
131+
)
132132

133133
val moduleField = ctx.newSymbol(
134134
claszSymbol,

0 commit comments

Comments
 (0)