<@U0SGUKZTN> Also it will work with secondary cons...
# getting-started
s
@vitorossonero Also it will work with secondary constructor
Copy code
class Zeta(val a:Int, var c:Int){
    constructor(m:Int): this(m,m) {
      println("Secondary")
    }
}

fun acceptsConstructor(const:(Int) -> Zeta){

}

fun main(args: Array<String>) {
    acceptsConstructor(::Zeta)
}