elect
02/09/2017, 10:40 AMdata class Vec2i(override var x: Int, override var y: Int) : Vec2t<Int>()
and then a secondary constructor, referring to the first one constructor(x: Number, y: Number) : this(x.i, y.i)
No problems in kotlin, but in java it complains constructor is ambiguous... why this behavious difference?