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 ece7656 commit 3558e07Copy full SHA for 3558e07
src/dotty/tools/dotc/core/SymDenotations.scala
@@ -805,7 +805,7 @@ object SymDenotations {
805
*/
806
final def accessBoundary(base: Symbol)(implicit ctx: Context): Symbol = {
807
val fs = flags
808
- if (fs is PrivateOrLocal) owner
+ if (fs is Private) owner
809
else if (fs is StaticProtected) defn.RootClass
810
else if (privateWithin.exists && !ctx.phase.erasedTypes) privateWithin
811
else if (fs is Protected) base
0 commit comments