Files
kotlin/idea/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt
2015-09-04 18:19:31 +03:00

9 lines
165 B
Kotlin
Vendored

// "Replace with '"p = $p"'" "true"
@Deprecated("", ReplaceWith("\"p = \$p\""))
fun oldFun(p: Int) = "p = $p"
fun foo(p: Int) {
val s = <caret>oldFun(p + 1)
}