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
@@ -15,7 +15,6 @@ class A {
fun foo() {
val a = A()
a.apply {
// Works incorrectly yet
new
new = "foo"
}
}