Code inliner: keep main property if it can have side effects

So #KT-24165 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-05-23 14:20:24 +03:00
parent 93a510c05b
commit f3c2dd0526
13 changed files with 204 additions and 12 deletions
@@ -0,0 +1,8 @@
// "Replace with 'bar'" "true"
val bar get() = 1
@Deprecated("use property instead", ReplaceWith("bar"))
fun foo() = 1
fun test(){
foo<caret>()
}