I know little about bytecode and compiler magic, but I am surprised compilation can't do an
init { }
using a simple static function like this:
g
gildor
11/06/2018, 2:31 PM
This will be available later, there is a discussion on Inline classes Keep. Before it was not possible due to java interop. Now inline classes are mangled so it opens way to implement Init blocks and private constructors