Kotlin - Operators and Expressions
Find the error in this Kotlin operator function:
class Vector(val x: Int, val y: Int) {
fun minus(other: Vector) {
return Vector(x - other.x, y - other.y)
}
}