Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt
T

13 lines
185 B
Kotlin
Vendored

// "Replace with 'getX()'" "true"
interface X {
@Deprecated("", ReplaceWith("getX()"))
val x: String
fun getX(): String
}
fun foo(x: X): String {
return x.<caret>x
}