mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
6 lines
152 B
Kotlin
Vendored
6 lines
152 B
Kotlin
Vendored
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"
|
|
} |