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

11 lines
186 B
Kotlin
Vendored

// "Replace with 'newFun(p1 + p2)'" "true"
@Deprecated("", ReplaceWith("newFun(p1 + p2)"))
fun oldFun(p1: Int, p2: Int) {}
fun newFun(n: Int) {}
fun foo() {
<caret>oldFun(1, 2)
}