[FIR2IR] Properly set statement origin for all parts of += calls
^KT-65649 Fixed
This commit is contained in:
committed by
Space Team
parent
e4537cb9f0
commit
dd94de3a34
+3
-3
@@ -26,7 +26,7 @@ FILE fqName:<root> fileName:/augmentedAssignmentWithExpression.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Host
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun plusAssign (x: kotlin.Int): kotlin.Unit declared in <root>.Host' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: GET_VAR '<this>: <root>.Host declared in <root>.Host.test1' type=<root>.Host origin=null
|
||||
$this: GET_VAR '<this>: <root>.Host declared in <root>.Host.test1' type=<root>.Host origin=PLUSEQ
|
||||
x: CONST Int type=kotlin.Int value=1
|
||||
FUN name:foo visibility:public modality:FINAL <> () returnType:<root>.Host
|
||||
BLOCK_BODY
|
||||
@@ -36,12 +36,12 @@ FILE fqName:<root> fileName:/augmentedAssignmentWithExpression.kt
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Host
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun plusAssign (x: kotlin.Int): kotlin.Unit declared in <root>.Host' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: GET_VAR '<this>: <root>.Host declared in <root>.test2' type=<root>.Host origin=null
|
||||
$this: GET_VAR '<this>: <root>.Host declared in <root>.test2' type=<root>.Host origin=PLUSEQ
|
||||
x: CONST Int type=kotlin.Int value=1
|
||||
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun plusAssign (x: kotlin.Int): kotlin.Unit declared in <root>.Host' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: CALL 'public final fun foo (): <root>.Host declared in <root>' type=<root>.Host origin=null
|
||||
$this: CALL 'public final fun foo (): <root>.Host declared in <root>' type=<root>.Host origin=PLUSEQ
|
||||
x: CONST Int type=kotlin.Int value=1
|
||||
FUN name:test4 visibility:public modality:FINAL <> (a:kotlin.Function0<<root>.Host>) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Function0<<root>.Host>
|
||||
|
||||
Reference in New Issue
Block a user