13 lines
206 B
Plaintext
Vendored
13 lines
206 B
Plaintext
Vendored
// "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)
|
|
}
|