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
@@ -1185,6 +1182,10 @@ abstract class Erasure extends InfoTransform
1185
1182
reporter.error(tree.pos, s"Unable to emit super reference to ${sym.fullLocationString}, $owner is not accessible in ${localTyper.context.enclClass.owner}")
1186
1183
owner
1187
1184
}
1185
+
1186
+
if (sym.isJavaDefined && qualSym.isTraitOrInterface)
reporter.error(clazz.pos, s"Unable to implement a super accessor required by trait ${mixinClass.name} unless $suggestedParent is directly extended by $clazz.")
298
+
if (alias1.owner.isJavaDefined && alias1.owner.isInterface) {
299
+
if (!clazz.parentSymbols.contains(alias1.owner)) {
reporter.error(clazz.pos, s"Unable to implement a super accessor required by trait ${mixinClass.name} unless $suggestedParent is directly extended by $clazz.")
0 commit comments