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

19 lines
251 B
Plaintext
Vendored

// "Replace with 'newFun(this)'" "true"
open class C {
@Deprecated("", ReplaceWith("newFun(this)"))
fun oldFun(){}
}
fun newFun(c: C){}
class X {
companion object : C() {
}
fun foo() {
<caret>newFun(Companion)
}
}