16 lines
237 B
Kotlin
Vendored
16 lines
237 B
Kotlin
Vendored
// "Replace with 'newFun(this, s)'" "true"
|
|
|
|
interface I {
|
|
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
|
fun oldFun(s: String)
|
|
}
|
|
|
|
fun newFun(i: I, s: String){}
|
|
|
|
fun I.foo() {
|
|
with("a") {
|
|
<caret>oldFun(this)
|
|
}
|
|
}
|
|
|