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

16 lines
284 B
Plaintext
Vendored

// "Replace with 'newFun(this, p1, p2)'" "true"
interface X {
@Deprecated("", ReplaceWith("newFun(this, p1, p2)"))
fun oldFun(p1: Int, p2: Int)
}
fun newFun(x: X, a: Int, b: Int){}
fun foo(x: X) {
newFun(
x/*receiver*/, 1, // pass 1
2 // pass 2
)
}