Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt
T
Dmitry Gridin 360a5bf348 Inline refactoring: improve resolve
#KT-39705 Fixed
#KT-19459 Fixed
2020-06-23 10:25:52 +00:00

15 lines
223 B
Kotlin
Vendored

// "Replace with '{ this.bar }()'" "true"
private class A {
val bar = 1
@Deprecated("t", ReplaceWith("{ this.bar }()"))
fun foooo() {
{ bar }()
}
}
private fun test(a: A) {
a.<caret>foooo()
}