Files
kotlin-fork/idea/testData/refactoring/introduceProperty/stringTemplates/fullContent.kt
T

9 lines
197 B
Kotlin
Vendored

// EXTRACTION_TARGET: property with initializer
val a = 1
fun foo(): String {
val x = "abc$a"
val y = "abc${a}"
val z = "abc{$a}def"
return "<selection>abc$a</selection>" + "def"
}