15 lines
230 B
Plaintext
Vendored
15 lines
230 B
Plaintext
Vendored
// "Replace with 'newFun(p, this)'" "true"
|
|
|
|
interface I
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p, this)"))
|
|
operator fun I.plus(p: Int) {
|
|
newFun(p, this)
|
|
}
|
|
|
|
fun newFun(p: Int, i: I) { }
|
|
|
|
fun foo(i: I) {
|
|
<caret>newFun(1, i)
|
|
}
|