File tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/transform
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class ExpandPrivate extends MiniPhase with IdentityDenotTransformer { thisPhase
66
66
private def ensurePrivateAccessible (d : SymDenotation )(using Context ) =
67
67
if (isVCPrivateParamAccessor(d))
68
68
d.ensureNotPrivate.installAfter(thisPhase)
69
- else if (d.is(PrivateTerm ) && ! d.owner.is(Package ) && d.owner != ctx.owner.lexicallyEnclosingClass && ! d.is(InlineProxy )) {
69
+ else if (d.is(PrivateTerm ) && ! d.owner.is(Package ) && d.owner != ctx.owner.lexicallyEnclosingClass && ! d.is(InlineProxy ) && ! d.is( Synthetic ) ) {
70
70
// Paths `p1` and `p2` are similar if they have a common suffix that follows
71
71
// possibly different directory paths. That is, their common suffix extends
72
72
// in both cases either to the start of the path or to a file separator character.
You can’t perform that action at this time.
0 commit comments