mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
10 lines
151 B
Kotlin
Vendored
10 lines
151 B
Kotlin
Vendored
// "Replace with 'this'" "true"
|
|
class C {
|
|
@Deprecated("", ReplaceWith("this"))
|
|
fun oldFun(): C = this
|
|
}
|
|
|
|
fun foo() {
|
|
C().<caret>oldFun()
|
|
}
|