a5ae1b38b0
The problem was that we didn't incorporate T == Foo into K <: Inv<out T>. It happened because of optimisation that isn't applicable here as we already have projection in the initial type #KT-39777 Fixed