Hi, is it possible to add an external secondary constructor for a class ?
I have a
typealias AABB = Rectangle
with an external "constructor"
fun Rectangle(x: Int = 0, y: Int = 0, width: Int = 0, height = 0) = ...
but it's not present on the type AABB, I also tested with
fun Rectangle.invoke(x: Int ...
but it still doesn't work, is it possible ?