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

15 lines
238 B
Plaintext
Vendored

// "Replace with 'newFun(p)'" "true"
class X {
@Deprecated("", ReplaceWith("newFun(p)"))
fun oldFun(p: Int) {
newFun(p)
}
fun newFun(p: Int){}
}
fun foo(x: X) {
x/*receiver*/.<caret>newFun(1/*parameter*/)
}