Skip to content

Commit edee93a

Browse files
committed
Fix comment in ExpandPrivate
1 parent 16a3c39 commit edee93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/transform/ExpandPrivate.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ExpandPrivate extends MiniPhaseTransform with IdentityDenotTransformer { t
4141
// public > protected > /* default */ > private
4242
if (sym.is(Private)) other.is(Private)
4343
else if (sym.is(Protected)) other.is(Protected | Private)
44-
else true // sym is private
44+
else true // sym is public
4545
}
4646
val fail = sym.allOverriddenSymbols.findSymbol(x => !hasWeakerAccess(x))
4747
if (fail.exists) {

0 commit comments

Comments
 (0)