blob: 361a6f26eccfeaaeae17e42b8018e838440a0d39 [file] [log] [blame]
// "Replace with 's.newFun(this)'" "true"
class X {
@Deprecated("", ReplaceWith("s.newFun(this)"))
fun oldFun(s: String){}
}
fun String.newFun(x: X){}
fun foo(x: X) {
x.<caret>oldFun("a")
}