New J2K: implement mutability inference in post-processing

#KT-24293 fixed
#KT-19603 fixed
This commit is contained in:
Ilya Kirillov
2019-09-02 18:56:50 +03:00
parent c28515be59
commit f61bb5aa39
81 changed files with 1263 additions and 231 deletions
@@ -0,0 +1,11 @@
import java.util.ArrayList
class Owner {
var list: MutableList<String> = ArrayList()
}
class Updater {
fun update(owner: Owner) {
owner.list.add("")
}
}