summaryrefslogblamecommitdiff
path: root/test/files/neg/t715.scala
blob: a5ccd567f902acaced2b2553cb7f0fe8861bcdd4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
              













                                          
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;
  }
}