Inline refactoring: improve resolve

#KT-39705 Fixed
#KT-19459 Fixed
This commit is contained in:
Dmitry Gridin
2020-06-19 18:16:27 +07:00
parent 5ad94daaa5
commit 360a5bf348
24 changed files with 232 additions and 61 deletions
@@ -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()
}