Comment saver is more clever about comma's
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Replace with 'newFun(p1, -1, p2, p3, -2)'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun(p1, -1, p2, p3, -2)"))
|
||||
fun oldFun(p1: Int, p2: Int, p3: Int){}
|
||||
|
||||
fun newFun(p1: Int, a: Int, p2: Int, p3: Int, b: Int){}
|
||||
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun(0, // 0
|
||||
1, // 1
|
||||
2 // 2
|
||||
)
|
||||
@@ -0,0 +1,13 @@
|
||||
// "Replace with 'newFun(p1, -1, p2, p3, -2)'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun(p1, -1, p2, p3, -2)"))
|
||||
fun oldFun(p1: Int, p2: Int, p3: Int){}
|
||||
|
||||
fun newFun(p1: Int, a: Int, p2: Int, p3: Int, b: Int){}
|
||||
|
||||
|
||||
fun foo() {
|
||||
newFun(0, // 0
|
||||
-1, 1, // 1
|
||||
2, // 2
|
||||
-2)
|
||||
Reference in New Issue
Block a user