summaryrefslogblamecommitdiff
path: root/test/files/pos/t0069.scala
blob: e4c242c0ee6c24bdf536762a0a3f45088a826cdf (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                  
object testCQ  {
                            // why does this not work directly
  case class Thing( name:String, contains:List[ Thing ]  );

  /* ... but this one does?
  abstract class T;
  case class Thing2( name:String, contains:List[ T ]  ) extends T;
  */

}