DeprecatedSymbolUsageFix: fixed for string template

This commit is contained in:
Valentin Kipyatkov
2015-05-29 19:59:13 +03:00
parent a5cb1e8c2b
commit e60c3f5ee7
5 changed files with 40 additions and 21 deletions
@@ -0,0 +1,8 @@
// "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)
}