I’m tired of writing twice some args to pass super constructor like:
Foo(a: Int, b: Float, val str: String) : Bar(a, b)
I wonder if I can write like:
Foo(val str: String) : Bar(a: Int, b: Float)
Sorry for my bad English.
I’m tired of writing twice some args to pass super constructor like:
Foo(a: Int, b: Float, val str: String) : Bar(a, b)
I wonder if I can write like:
Foo(val str: String) : Bar(a: Int, b: Float)
Sorry for my bad English.