Inline val: more correct and simple detection of write usages

#KT-17489 Fixed
This commit is contained in:
Valentin Kipyatkov
2017-05-22 19:21:44 +03:00
parent 55979aca74
commit 940ce27925
8 changed files with 69 additions and 34 deletions
@@ -0,0 +1,4 @@
fun foo(list: MutableList<Int>) {
val <caret>list1 = list
list1 += 10
}