ir.tree: fix .originalKotlinType for transformed IR types

This commit is contained in:
Svyatoslav Scherbina
2018-07-02 18:48:09 +03:00
parent 4fd6dcd063
commit 226f16b44e
19 changed files with 184 additions and 164 deletions
+4 -2
View File
@@ -48,8 +48,10 @@ FILE fqName:<root> fileName:/safeAssignment.kt
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'tmp0_safe_receiver: C?' type=C? origin=null
arg1: CONST Null type=kotlin.Nothing value=null
then: CONST Null type=kotlin.Nothing value=null
arg1: CONST Null type=kotlin.Nothing? value=null
then: TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
CONST Null type=kotlin.Nothing? value=null
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
then: CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ