summaryrefslogblamecommitdiff
path: root/test/files/pos/t0066.scala
blob: 9317da7165b42b28ec3193f00244ba0fd2549162 (plain) (tree)
1
2
3
4
5
6
7




                                                                          
    
 
class GBTree[A, B] /*with Map[A, B, GBTree[A,B]]*/ {
    abstract class Tree[A,B];
    case class Node[A,B](key:A,value:B,smaller:Node[A,B],bigger:Node[A,B])
	extends Tree[A,B];
    case class Nil[A,B]() extends Tree[A,B];
    
}