blob: f60902667ef63578758ea2d6ada4588e34058693 [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() {
"a".<caret>newFun(this)
}