9c45685549 ^
33d36a45eb ^
1 2 3 4 5
6
7 8
class S[A](f: A => A, x: A) { System.out.println(f(x)); } class T[A](f: A => A, y: A) extends S(x: A => f(x), y) { } object Test with Application { new T[int](x: int => x * 2, 1); }