Properties without accessors are generated as

IrGetBackingField / IrSetBackingField expressions.
This commit is contained in:
Dmitry Petrov
2016-09-05 15:06:38 +03:00
committed by Dmitry Petrov
parent a1ad828ea8
commit ceeccfa1b7
40 changed files with 359 additions and 122 deletions
@@ -16,5 +16,6 @@ FILE /objectWithInitializers.kt
ANONYMOUS_INITIALIZER Test
BLOCK_BODY
SET_BACKING_FIELD y type=kotlin.Unit operator=null
CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
receiver: THIS public object Test : Base type=Test
value: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
$this: THIS public object Test : Base type=Test