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 275c340 commit 661068aCopy full SHA for 661068a
src/dotty/tools/dotc/core/SymDenotations.scala
@@ -958,7 +958,7 @@ object SymDenotations {
958
*/
959
final def accessBoundary(base: Symbol)(implicit ctx: Context): Symbol = {
960
val fs = flags
961
- if (fs is (Private, butNot = NotJavaPrivate)) owner
+ if (fs is Private) owner
962
else if (fs is StaticProtected) defn.RootClass
963
else if (privateWithin.exists && !ctx.phase.erasedTypes) privateWithin
964
else if (fs is Protected) base
0 commit comments