summaryrefslogtreecommitdiff
path: root/test-nsc/files/pos/bug69.scala
blob: 113820613f030e754c42b6d52b002312c38f9021 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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;
  */

}