mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 08:31:35 +00:00
6 lines
176 B
Plaintext
Vendored
6 lines
176 B
Plaintext
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
val n = 1
|
|
fun foo(a: Int, b: Int = i(a)) = a + b - 1
|
|
|
|
private fun i(a: Int) = a + n |