if I have `abstract class Vec2t<T : Number>(...
# getting-started
e
if I have
abstract class Vec2t<T : Number>(open var x: T, open var y: T)
and
Copy code
data class Vec2(override var x: Float, override var y: Float) : Vec2t<Float>(x, y) {
    constructor(v: Vec2t<Number>) : this(v.x, v.y)
}
Why if I type
Copy code
val a = Vec2(1)
val b = Vec2(a)
it says it can't find any function for
Vec2(a)
?