Hello,
could you explain me what is incorrect in this trivial example?
class C1 (val id: Int)
abstract class C2 [T] {
def m1 [T]
}
class C3 [C1] extends C2
{
override
def m1 (obj: C1) {
println (obj.id)
}
}
I have got: value id is not a member of type parameter C1 Why?