DeprecatedSymbolUsageFix to keep line breaks when possible

This commit is contained in:
Valentin Kipyatkov
2015-05-28 16:14:15 +03:00
parent 5e5e71882e
commit 08cf8065ea
14 changed files with 322 additions and 70 deletions
@@ -0,0 +1,14 @@
// "Replace with 'newFun(p1, p2, p3)'" "true"
interface X {
@deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
fun oldFun(p1: Int, p2: Int, p3: Int)
fun newFun(p1: Int, p2: Int, p3: Int)
}
fun foo(x: X) {
x.<caret>oldFun(1,
2,
3)
}