I'm in the progress of writing a bunch of classes ...
# language-proposals
k
I'm in the progress of writing a bunch of classes like this, it's annoying having to duplicate the type eveywhere:
Copy code
open class Box<T>(val value: T)
class IntBox(value: Int): Box<Int>(value)
class StringBox(value: String): Box<String>(value)