Generate get/set for local delegated properties as accessor calls.

This commit is contained in:
Dmitry Petrov
2016-09-02 14:42:40 +03:00
committed by Dmitry Petrov
parent f2e778d2d0
commit 8b95992af1
8 changed files with 104 additions and 6 deletions
@@ -1,4 +1,11 @@
fun test1() {
val x by lazy { 42 }
println(x)
}
fun test2() {
var x by hashMapOf<String, Int>()
x = 0
x++
x += 1
}