psi2ir: improve backing field usage generation

Also update corresponding tests data.
This commit is contained in:
Svyatoslav Scherbina
2017-01-10 11:23:15 +07:00
parent 0189faec2e
commit 4c3fb9a21f
5 changed files with 23 additions and 3 deletions
@@ -44,6 +44,7 @@ FILE /classLevelProperties.kt
FUN public final fun <set-test4>(value: kotlin.Int): kotlin.Unit
BLOCK_BODY
SET_FIELD 'test4: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: C>' type=C origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
PROPERTY public final var test5: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var test5: kotlin.Int