Consider the following code:
class A {}
class B: A {}
protocol P {
var a: A {get}
}
class P1: P {
let a: A = B() // No problem
}
class P2: P {
let a: B = B() // Can't compile!!
}
Since B is a sub class of A, why can't we make B as return type of var a ?
