We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a3c39 commit edee93aCopy full SHA for edee93a
src/dotty/tools/dotc/transform/ExpandPrivate.scala
@@ -41,7 +41,7 @@ class ExpandPrivate extends MiniPhaseTransform with IdentityDenotTransformer { t
41
// public > protected > /* default */ > private
42
if (sym.is(Private)) other.is(Private)
43
else if (sym.is(Protected)) other.is(Protected | Private)
44
- else true // sym is private
+ else true // sym is public
45
}
46
val fail = sym.allOverriddenSymbols.findSymbol(x => !hasWeakerAccess(x))
47
if (fail.exists) {
0 commit comments