StavFX
12/07/2020, 7:07 PM@JvmOverloads
e.g.
class Foo(s: String? = null, i: Int = 3) // `new Foo();` from Java compiles
However, that’s not the case when using a secondary constructor
e.g.
class Foo {
constructor(s: String? = null, i: Int = 3) // `new Foo();` from Java does not compiles
}
Is this behavior documented somewhere? I couldn’t find anything..okarm
12/07/2020, 9:52 PMVampire
12/07/2020, 10:45 PMVampire
12/07/2020, 10:48 PMVampire
12/07/2020, 10:48 PMVampire
12/07/2020, 10:48 PMVampire
12/07/2020, 10:49 PMStavFX
12/08/2020, 1:17 AMVampire
12/08/2020, 1:23 AM