Icyrockton
09/07/2023, 1:46 PMcapture type , is it related to the in and out variance? If we have a foo<out Double>, TypeApproximator will find all the supertypes of Double (i.e. Double -> Number -> Any) and create ConeCapturedType?dmitriy.novozhilov
09/07/2023, 1:57 PMclass Inv<T>(val x: T) and Inv<out Number>, then type of x may be any inheritor of Number. And if you have two different Inv<out Number> their x both will be some Number inheritor, but not guaranteed that they are samedmitriy.novozhilov
09/07/2023, 1:58 PMNothing <: Captured(out T) <: T
• T <: Captured(in T) <: Any?