Skip to content

Commit 967375d

Browse files
committed
Fix flags of MODULE field
1 parent 7426c78 commit 967375d

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
@@ -134,7 +134,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
134134
val moduleField = ctx.newSymbol(
135135
claszSymbol,
136136
str.MODULE_INSTANCE_FIELD.toTermName,
137-
JavaStatic | Private,
137+
JavaStatic | Final,
138138
claszSymbol.typeRef,
139139
privateWithin = NoSymbol,
140140
coord = claszSymbol.coord

0 commit comments

Comments
 (0)