anyway, assigning the whole vector to a `val` work...
# announcements
e
anyway, assigning the whole vector to a
val
works, but I don't have any locals in this case
Copy code
val a_ = a
        when(a_) {
            is Vec2 -> {
                res.x = a_.x < b.x.toFloat()
                res.y = a_.y < b.y.toFloat()
            }