FIR2IR: set GET_PROPERTY origin for property reads

This commit is contained in:
Mikhail Glukhikh
2020-02-26 11:35:01 +03:00
parent e066afc67f
commit db7401d8eb
78 changed files with 214 additions and 395 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ FILE fqName:<root> fileName:/values.kt
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test3 (): kotlin.Int declared in <root>'
CALL 'public final fun <get-a> (): kotlin.Int declared in <root>' type=kotlin.Int origin=null
CALL 'public final fun <get-a> (): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
FUN name:test4 visibility:public modality:FINAL <> () returnType:<root>.Z.Companion
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test4 (): <root>.Z.Companion declared in <root>'