FIR2IR: support fake overridden properties

This commit is contained in:
Mikhail Glukhikh
2019-09-02 18:04:56 +03:00
parent 687db20029
commit 5386cfe254
48 changed files with 950 additions and 189 deletions
@@ -3,9 +3,11 @@ FILE fqName:<root> fileName:/dotQualified.kt
VALUE_PARAMETER name:s index:0 type:kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun length (s: kotlin.String): kotlin.Int declared in <root>'
ERROR_CALL 'No getter found for R|kotlin/String.length|' type=kotlin.Int
CALL 'public open fun <get-length> (): kotlin.Int declared in kotlin.String' type=kotlin.Int origin=null
$this: GET_VAR 's: kotlin.String declared in <root>.length' type=kotlin.String origin=null
FUN name:lengthN visibility:public modality:FINAL <> (s:kotlin.String?) returnType:kotlin.Int?
VALUE_PARAMETER name:s index:0 type:kotlin.String?
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun lengthN (s: kotlin.String?): kotlin.Int? declared in <root>'
ERROR_CALL 'No getter found for R|kotlin/String.length|' type=kotlin.Int?
CALL 'public open fun <get-length> (): kotlin.Int declared in kotlin.String' type=kotlin.Int? origin=null
$this: GET_VAR 's: kotlin.String? declared in <root>.lengthN' type=kotlin.String? origin=null