FIR2IR: use ELVIS origin only on wrapping blocks #KT-60250 Fixed

This commit is contained in:
Mikhail Glukhikh
2023-08-18 18:06:54 +02:00
committed by Space Team
parent b06188180e
commit 2ff075c961
15 changed files with 39 additions and 38 deletions
@@ -174,7 +174,7 @@ FILE fqName:<root> fileName:/arrayAccessOperators.kt
$receiver: GET_VAR 'val myContainer: <root>.MyContainer declared in <root>.box.<anonymous>' type=<root>.MyContainer origin=null
$context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
index: CONST Int type=kotlin.Int value=0
WHEN type=kotlin.String origin=ELVIS
WHEN type=kotlin.String origin=null
BRANCH
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'val tmp_1: kotlin.String? declared in <root>.box.<anonymous>' type=kotlin.String? origin=null