Do not inline property setter if it's not required (e.g. ReplaceWith)

So #KT-21237 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-11-28 13:24:51 +03:00
parent bddaab9d48
commit 834c3fe62b
10 changed files with 20 additions and 14 deletions
@@ -14,6 +14,5 @@ class A {
fun foo() {
val a = A()
// Works incorrectly yet
a.<caret>old = "foo"
}