mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
8 lines
245 B
Kotlin
Vendored
8 lines
245 B
Kotlin
Vendored
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
// PARAM_TYPES: kotlin.Int
|
|
fun foo(a: Int): String {
|
|
val x = "-${a + 1}"
|
|
val y = "x${a + 1}y"
|
|
val z = "x${a - 1}y"
|
|
return "abc<selection>${a + 1}</selection>def"
|
|
} |