7f50e6e70e
(cherry picked from commit 93aaa48)
13 lines
161 B
Kotlin
Vendored
13 lines
161 B
Kotlin
Vendored
class InitAndParams<caret>(x: Int, z: Int) {
|
|
val y = x
|
|
|
|
val w: Int
|
|
|
|
init {
|
|
w = foo(y)
|
|
}
|
|
|
|
fun foo(arg: Int) = arg
|
|
|
|
val v = w + z
|
|
} |