Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt.after
T
2020-07-03 21:10:24 +07:00

12 lines
266 B
Plaintext
Vendored

// "Replace usages of 'set(Int, Int): Unit' in whole project" "true"
interface T {
@Deprecated("", replaceWith = ReplaceWith("set2(i, v)"))
operator fun set(i: Int, v: Int)
fun set2(i: Int, v: Int)
}
fun test(t: T) {
t.set2(0, 1)
t.set2(1, 2)
}