Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt.after
T
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00

16 lines
306 B
Plaintext
Vendored

// "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
)