Huh? They are mangled? Than what's the point of re...
# language-proposals
k
Huh? They are mangled? Than what's the point of restricting inline classes to not have constructors? I thought the argument was that Java interop could always work around them.
g
But inline classes has constructor. Do you mean init block? Because this restriction was introduced before mangling And mangling opens the door fir init blocks in inline classes, it's not implemented yet, see inline classes KEEP and discussion there
k
Non trivial constructor, so yeah init blocks.
I actually would like to see private constructors even more than init blocks
k
Yeah both are pretty important, thanks for the links!
a
also private constructors for inline classes!
k
Yeah that's exactly what this is about.