DeprecatedCallableAddReplaceWithIntention: fixed for string templates in expression

This commit is contained in:
Valentin Kipyatkov
2015-05-29 19:04:59 +03:00
parent 07cb0a0b08
commit b012f22edc
6 changed files with 39 additions and 5 deletions
@@ -1,6 +1,6 @@
@deprecated("", ReplaceWith("bar(\"\\\"$p\\\"\\n1\\r2\\t3\")"))
@deprecated("", ReplaceWith("bar(\"\\\"\\\"\\n1\\r2\\t3\")"))
fun foo(p: Int) {
bar("\"$p\"\n1\r2\t3")
bar("\"\"\n1\r2\t3")
}
fun bar(s: String){}