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

14 lines
308 B
Kotlin
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() {
<caret>oldFun(0, // 0
1, // 1
2 // 2
)