elect
11/29/2016, 10:27 AMval (aX, aY) = a
when(aX) {
is Float -> {
res.x = aX < b.x.toFloat()
res.y = aY < b.y.toFloat() // error
}
But of course it complains on the second line because the when
was only on aX
and not also on aY