blob: 5a8c15cd5a8d6605b8f88705f62f09e233ba8eeb (
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;
*/
}
|