Skip to content

Commit f71b8bb

Browse files
1 parent ccad792 commit f71b8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
679679
isFinal && !toDenot(sym).isClassConstructor && !(sym.is(Flags.Mutable)) && !(sym.enclosingClass.is(Flags.Trait))
680680

681681
def getsJavaPrivateFlag: Boolean =
682-
isPrivate //|| (sym.isPrimaryConstructor && sym.owner.isTopLevelModuleClass)
682+
isPrivate || (sym.isPrimaryConstructor && sym.owner.isTopLevelModuleClass)
683683

684684
def isFinal: Boolean = sym.is(Flags.Final)
685685
def isStaticMember: Boolean = (sym ne NoSymbol) &&

0 commit comments

Comments
 (0)