blob: e5e28ba9032540511ff3a31eff7bf042f2397599 [file] [log] [blame]
// "Replace with 'newFun(this, s)'" "true"
// WITH_RUNTIME
interface I {
@Deprecated("", ReplaceWith("newFun(this, s)"))
fun oldFun(s: String)
}
fun newFun(i: I, s: String){}
fun I.foo() {
with("a") {
<caret>newFun(this@foo, this)
}
}