Generate get/set for local delegated properties as accessor calls.
This commit is contained in:
committed by
Dmitry Petrov
parent
f2e778d2d0
commit
8b95992af1
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user