Files
kotlin-fork/idea/testData/intentions/removeCurlyBracesFromTemplate/unnecessaryBrackets2.kt.after
T
Tal Man 89779b5013 2 Intentions for string templates:
the first removes curly braces from a simple name variable, ${x} -> $x
and the second does the opposite $x -> ${x}
2014-02-24 21:20:40 +04:00

5 lines
83 B
Plaintext

// IS_APPLICABLE: true
fun foo() {
val x = 4
val y = "$<caret>x.moretext"
}