Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt.after
T
2015-09-04 18:19:31 +03:00

16 lines
241 B
Plaintext
Vendored

// "Replace with 'newFun(p, p)'" "true"
@Deprecated("", ReplaceWith("newFun(p, p)"))
fun oldFun(p: Int) {
newFun(p, p)
}
fun newFun(p1: Int, p2: Int){}
fun foo() {
val p = bar()/*use bar()*/
newFun(p, p)
}
fun bar(): Int = 0