summaryrefslogtreecommitdiff
path: root/test/files/run/t8803.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-8803 generate super accessor for super[A], if A is outer superclassLukas Rytz2014-08-201-0/+16
class C extends A with T { class I { C.super[T] C.super[A] } } A super call in a nested class of the form super[T] where T is a parent trait of the outer class doesn't need an accessor: mixin can directly re-route the call to the correct implementation class - it's statically known to be T$class. However, if a nested class accesses super[A] and A is the superclass of the outer class (not a trait), then we need a super accessor in the outer class. We need to add the mixin name to the super accessor name, otherwise it clashes with non-qualified super accessors.