725df49c8c
(cherry picked from commit f3fa779)
16 lines
209 B
Kotlin
Vendored
16 lines
209 B
Kotlin
Vendored
class InitAndParams {
|
|
constructor<caret>(x: Int, z: Int) {
|
|
this.y = x
|
|
w = foo(y)
|
|
this.v = w + z
|
|
}
|
|
|
|
val y: Int
|
|
|
|
val w: Int
|
|
|
|
fun foo(arg: Int) = arg
|
|
|
|
val v: Int
|
|
}
|