Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt
T
2015-06-02 14:36:06 +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)
}