Fir2Ir: Produce IR_TEMPORARY_VARIABLE origins

This commit is contained in:
Steven Schäfer
2019-11-01 14:23:17 +01:00
committed by Mikhail Glukhikh
parent 733c7579aa
commit 704e6e96fa
27 changed files with 287 additions and 284 deletions
@@ -9,11 +9,11 @@ FILE fqName:<root> fileName:/localDelegatedProperties.kt
VAR name:x type:IrErrorType [var]
SET_VAR 'var x: IrErrorType [var] declared in <root>.test2' type=IrErrorType origin=null
CONST Int type=IrErrorType value=0
VAR name:<unary> type:IrErrorType [val]
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:IrErrorType [val]
GET_VAR 'var x: IrErrorType [var] declared in <root>.test2' type=IrErrorType origin=null
SET_VAR 'var x: IrErrorType [var] declared in <root>.test2' type=IrErrorType origin=null
ERROR_CALL 'Unresolved reference: <Ambiguity: inc, [kotlin/inc, kotlin/inc]>#' type=IrErrorType
GET_VAR 'val <unary>: IrErrorType [val] declared in <root>.test2' type=IrErrorType origin=null
GET_VAR 'val tmp_0: IrErrorType [val] declared in <root>.test2' type=IrErrorType origin=null
CALL 'public final fun plusAssign (element: T of <uninitialized parent>): kotlin.Unit [inline] declared in kotlin.collections' type=kotlin.Unit origin=null
$receiver: GET_VAR 'var x: IrErrorType [var] declared in <root>.test2' type=IrErrorType origin=null
element: CONST Int type=kotlin.Int value=1