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