Files
kotlin-fork/idea/testData/refactoring/introduceVariable/stringTemplates/fullEntryWithBlockExpr.kt
T
2015-11-24 20:40:15 +03:00

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"
}