mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 00:21:34 +00:00
4 lines
173 B
Kotlin
Vendored
4 lines
173 B
Kotlin
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
val n = 1
|
|
fun foo(a: Int, b: Int = { <selection>a + n</selection> }) = a + b - 1 |