You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix enclosingClass from returning refinement classes
Looking at how i20952 is compiled, the call
ctx.owner.enclosingClass.derivesFrom(sym.owner)
in SuperAccessors (that I moved to ProtectedAccessors) accidentally
fails, because the refinement class returned as the enclosing class of
`val prog` doesn't derive from SuperClass. But if the enclosing class
of `prog` returned is `trait Child` then no super accessor call is
necessary.
0 commit comments