Zach Klippenstein (he/him) [MOD]
10/04/2022, 3:09 AMZach Klippenstein (he/him) [MOD]
10/04/2022, 3:11 AMephemient
10/04/2022, 4:37 AMDefaultConstructorMarker
also appears on constructors with default parameters; in that case there's also extra Int parameters acting as bitfields (indicating which parameters are present)ephemient
10/04/2022, 4:49 AMDefaultConstructorMarker
, but a full solution would need to properly understasnd @kotlin.Metadata
, which would also somewhat tie it to the Kotlin release cycleZach Klippenstein (he/him) [MOD]
10/04/2022, 10:10 AMephemient
10/04/2022, 2:09 PMconstructor(Int)
constructor(UInt)
without collision, but if you were to translate them to Java naively, they both look like <init>(I)
. for ordinary functions this is solved by name mangling, but you can't rename constructors, so the only alternative is to mangle the parameter listephemient
10/04/2022, 2:12 PMInt
, why should there be for UInt
(or other value classes)?Zach Klippenstein (he/him) [MOD]
10/04/2022, 2:36 PM