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

11 lines
217 B
Plaintext
Vendored

// "Replace with 'get2(i)'" "true"
interface T {
@Deprecated("", replaceWith = ReplaceWith("get2(i)"))
operator fun get(i: Int): String
fun get2(i: Int): String
}
fun test(t: T) {
val s = t.get2(0)
}