blob: 87b2525a6387a9c7f60a59b35049543ba246b3aa (
plain) (
tree)
|
|
package test;
trait B {
type Node <: NodeImpl;
trait NodeImpl {
def self : Node;
def chilren : List[Node];
}
}
trait C extends B {
type Node <: NodeImpl;
trait NodeImpl extends super.NodeImpl {
override def children = super.chilren;
children;
}
}
|