blob: ad3a8c5c57d5a9d3dfe1860729c2828972689eea [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) {
<caret>newFun(1, i)
}