mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
9 lines
220 B
Plaintext
Vendored
9 lines
220 B
Plaintext
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter b: kotlin.Int defined in A.<init>
|
|
class A(val a: Int, b: Int) {
|
|
init {
|
|
println({ i(b) - 1 }.invoke())
|
|
}
|
|
|
|
private fun i(b: Int) = a + b
|
|
} |