mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
13 lines
180 B
Kotlin
Vendored
13 lines
180 B
Kotlin
Vendored
// "Replace with 'x'" "true"
|
|
|
|
interface X {
|
|
@Deprecated("", ReplaceWith("x"))
|
|
fun getX(): String
|
|
|
|
val x: String
|
|
}
|
|
|
|
fun foo(x: X): String {
|
|
return x.<caret>getX()
|
|
}
|