blob: 5eb5d3964487a3ab0616e4b54b744384f7dea7ab [file] [log] [blame]
// "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) {
i <caret>+ 1
}