mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
15 lines
197 B
Kotlin
Vendored
15 lines
197 B
Kotlin
Vendored
// "Replace with 'newFun()'" "true"
|
|
|
|
class X {
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun() {
|
|
newFun()
|
|
}
|
|
|
|
fun newFun(){}
|
|
}
|
|
|
|
fun foo(x: X) {
|
|
x.<caret>oldFun()
|
|
}
|