blob: 500e9c4f4e8e98b1db8ddf383f0ba06e7e332316 [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 X.foo() {
<caret>oldFun("a")
}