Skip to content

Commit 80c0e12

Browse files
committed
Fix flags of MODULE field
1 parent d575d34 commit 80c0e12

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

0 commit comments

Comments
 (0)