Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt
T
2015-09-04 18:19:31 +03:00

16 lines
237 B
Kotlin
Vendored

// "Replace with 'newFun(this, s)'" "true"
interface I {
@Deprecated("", ReplaceWith("newFun(this, s)"))
fun oldFun(s: String)
}
fun newFun(i: I, s: String){}
fun I.foo() {
with("a") {
<caret>oldFun(this)
}
}