Huh, I guess that is basically what I'm asking, isn't it. I'm mostly interested in the constructor part, though it's really not a big deal.
d
dmitry.petrov
03/25/2019, 4:09 PM
There's a potential problem with accidental overrides in Java, same as with
internal
. For
internal
it is resolved with name mangling, which is a kinda compromise.
r
Ruckus
03/26/2019, 12:59 AM
Hm, it seems I haven't really thought this proposal through. It seems most of my proposals seem like a good idea at the time, but end up being anything but on closer inspection.
b
benleggiero
04/11/2019, 11:57 PM
Swift has this and it's very useful for nested functions that have to be called from extension functions or private classes