Since when can you do this with secondary construc...
# stdlib
z
Since when can you do this with secondary constructors? Whats the feature called?
Copy code
@JvmInline
value class Token(
    private val value: String,
) {


    constructor() : this("1337") { 
     // **THIS**
     println(value) 
    }
}
r
z
Oh, its quite new! Sweet, thank you 😃
👍 2