summaryrefslogtreecommitdiff
path: root/test/files/pos/t0066.scala
blob: 2153264e7a291126fa9642995eaba520dcd1a56a (plain) (blame)
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];

}