blob: 182ffe0b178324d426d57e0698f73824d5d3b561 (
plain) (
tree)
|
|
trait A { trait Inner }
trait B { self: A =>
trait Inner extends self.Inner // error: cannot merge trait Inner in trait A with trait Inner in trait B as members of type (A & B)(B.this)
}
class C extends C // error: cyclic inheritance: class C extends itself
|