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

12 lines
215 B
Kotlin
Vendored

// "Replace with 'newFun(b, a, null)'" "true"
@Deprecated("", ReplaceWith("newFun(b, a, null)"))
fun oldFun(a: Int, b: String) {
}
fun newFun(b: String, a: Int, x: Any?){}
fun foo() {
<caret>oldFun(1, "x")
}