Is there any way to do something like this
class Foo (val bar:Any, val baz:Any = magic(bar))
without overloading constructor or making baz mutable?
Is there any way to do something like this
class Foo (val bar:Any, val baz:Any = magic(bar))
without overloading constructor or making baz mutable?