blob: a5ccd567f902acaced2b2553cb7f0fe8861bcdd4 (
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;
}
}
|