Inline refactoring: improve resolve
#KT-39705 Fixed #KT-19459 Fixed
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "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()
|
||||
}
|
||||
Reference in New Issue
Block a user