From 50c477bee10404f9f3e76563a814f9b884d7ca6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Sch=C3=A4fer?= Date: Fri, 14 Feb 2020 15:25:20 +0100 Subject: [PATCH] Update IR text test expectations for FIR --- .../declarations/localDelegatedProperties.fir.txt | 6 +++--- .../parameters/useNextParamInLambda.fir.txt | 2 +- .../testData/ir/irText/expressions/assignments.fir.txt | 4 ++-- .../ir/irText/expressions/augmentedAssignment1.fir.txt | 10 +++++----- .../expressions/breakContinueInLoopHeader.fir.txt | 4 ++-- .../ir/irText/expressions/breakContinueInWhen.fir.txt | 4 ++-- .../callableReferences/withVarargViewedAsArray.fir.txt | 2 +- .../expressions/complexAugmentedAssignment.fir.txt | 4 ++-- .../ir/irText/expressions/incrementDecrement.fir.txt | 8 ++++---- .../testData/ir/irText/expressions/kt24804.fir.txt | 2 +- .../testData/ir/irText/expressions/kt27933.fir.txt | 4 ++-- .../ir/irText/expressions/whileDoWhile.fir.txt | 8 ++++---- .../testData/ir/irText/lambdas/localFunction.fir.txt | 2 +- .../ir/irText/regressions/coercionInLoop.fir.txt | 2 +- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt index 57d05105d5a..a6f6239286d 100644 --- a/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt +++ b/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt @@ -7,18 +7,18 @@ FILE fqName: fileName:/localDelegatedProperties.kt FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit BLOCK_BODY VAR name:x type:IrErrorType [var] - SET_VAR 'var x: IrErrorType [var] declared in .test2' type=IrErrorType origin=null + SET_VAR 'var x: IrErrorType [var] declared in .test2' type=kotlin.Unit origin=null CONST Int type=kotlin.Int value=0 VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val] TYPE_OP type=kotlin.Int origin=IMPLICIT_CAST typeOperand=kotlin.Int GET_VAR 'var x: IrErrorType [var] declared in .test2' type=IrErrorType origin=null - SET_VAR 'var x: IrErrorType [var] declared in .test2' type=IrErrorType origin=null + SET_VAR 'var x: IrErrorType [var] declared in .test2' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: TYPE_OP type=IrErrorType origin=IMPLICIT_CAST typeOperand=IrErrorType GET_VAR 'val tmp_0: kotlin.Int [val] declared in .test2' type=kotlin.Int origin=null TYPE_OP type=IrErrorType origin=IMPLICIT_CAST typeOperand=IrErrorType GET_VAR 'val tmp_0: kotlin.Int [val] declared in .test2' type=kotlin.Int origin=null - SET_VAR 'var x: IrErrorType [var] declared in .test2' type=IrErrorType origin=null + SET_VAR 'var x: IrErrorType [var] declared in .test2' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: IrErrorType [var] declared in .test2' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=1 diff --git a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt index b003dbdbafe..54ac1b7c137 100644 --- a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt +++ b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt @@ -27,7 +27,7 @@ FILE fqName: fileName:/useNextParamInLambda.kt CATCH parameter=val e: java.lang.Exception [val] declared in .box VAR name:e type:java.lang.Exception [val] BLOCK type=kotlin.Unit origin=null - SET_VAR 'var result: kotlin.String [var] declared in .box' type=kotlin.String origin=null + SET_VAR 'var result: kotlin.String [var] declared in .box' type=kotlin.Unit origin=null CONST String type=kotlin.String value="OK" RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' CALL 'public final fun plus (other: kotlin.Any?): kotlin.String [operator] declared in kotlin.String' type=kotlin.String origin=null diff --git a/compiler/testData/ir/irText/expressions/assignments.fir.txt b/compiler/testData/ir/irText/expressions/assignments.fir.txt index d89ddf1286b..e896a887f1e 100644 --- a/compiler/testData/ir/irText/expressions/assignments.fir.txt +++ b/compiler/testData/ir/irText/expressions/assignments.fir.txt @@ -42,9 +42,9 @@ FILE fqName: fileName:/assignments.kt BLOCK_BODY VAR name:x type:kotlin.Int [var] CONST Int type=kotlin.Int value=0 - SET_VAR 'var x: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test1' type=kotlin.Unit origin=null CONST Int type=kotlin.Int value=1 - SET_VAR 'var x: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test1' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=1 diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt index 354034ae55d..ddc11a1594d 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt @@ -18,23 +18,23 @@ FILE fqName: fileName:/augmentedAssignment1.kt BLOCK_BODY VAR name:x type:kotlin.Int [var] CONST Int type=kotlin.Int value=0 - SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=1 - SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Unit origin=null CALL 'public final fun minus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=2 - SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Unit origin=null CALL 'public final fun times (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=3 - SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Unit origin=null CALL 'public final fun div (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=4 - SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Unit origin=null CALL 'public final fun rem (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var x: kotlin.Int [var] declared in .testVariable' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=5 diff --git a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt index 58b2f869c39..dffe830ef9a 100644 --- a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt +++ b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt @@ -110,7 +110,7 @@ FILE fqName: fileName:/breakContinueInLoopHeader.kt body: BLOCK type=kotlin.Unit origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_8 type:kotlin.Int [val] GET_VAR 'var i: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null - SET_VAR 'var i: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null + SET_VAR 'var i: kotlin.Int [var] declared in .test5' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_8: kotlin.Int [val] declared in .test5' type=kotlin.Int origin=null GET_VAR 'var i: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null @@ -120,7 +120,7 @@ FILE fqName: fileName:/breakContinueInLoopHeader.kt body: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_9 type:kotlin.Int [val] GET_VAR 'var j: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null - SET_VAR 'var j: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null + SET_VAR 'var j: kotlin.Int [var] declared in .test5' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_9: kotlin.Int [val] declared in .test5' type=kotlin.Int origin=null GET_VAR 'var j: kotlin.Int [var] declared in .test5' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt b/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt index 400b10c374b..c1d51f9efbe 100644 --- a/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt +++ b/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt @@ -113,7 +113,7 @@ FILE fqName: fileName:/breakContinueInWhen.kt body: BLOCK type=kotlin.Unit origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_4 type:kotlin.Int [val] GET_VAR 'var k: kotlin.Int [var] declared in .testContinueDoWhile' type=kotlin.Int origin=null - SET_VAR 'var k: kotlin.Int [var] declared in .testContinueDoWhile' type=kotlin.Int origin=null + SET_VAR 'var k: kotlin.Int [var] declared in .testContinueDoWhile' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_4: kotlin.Int [val] declared in .testContinueDoWhile' type=kotlin.Int origin=null GET_VAR 'var k: kotlin.Int [var] declared in .testContinueDoWhile' type=kotlin.Int origin=null @@ -123,7 +123,7 @@ FILE fqName: fileName:/breakContinueInWhen.kt arg0: GET_VAR 'var k: kotlin.Int [var] declared in .testContinueDoWhile' type=kotlin.Int origin=null arg1: CONST Int type=kotlin.Int value=2 then: CONTINUE label=null loop.label=null - SET_VAR 'var s: kotlin.String [var] declared in .testContinueDoWhile' type=kotlin.String origin=null + SET_VAR 'var s: kotlin.String [var] declared in .testContinueDoWhile' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Any?): kotlin.String [operator] declared in kotlin.String' type=kotlin.String origin=null $this: GET_VAR 'var s: kotlin.String [var] declared in .testContinueDoWhile' type=kotlin.String origin=null other: STRING_CONCATENATION type=kotlin.String diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt index 3f25c64c7d0..3d1c6a14df7 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt @@ -16,7 +16,7 @@ FILE fqName: fileName:/withVarargViewedAsArray.kt VAR name:arg type:kotlin.Int [val] CALL 'public final fun next (): kotlin.Int [operator] declared in kotlin.collections.IntIterator' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_1: kotlin.collections.IntIterator [val] declared in .sum' type=kotlin.collections.IntIterator origin=null - SET_VAR 'var result: kotlin.Int [var] declared in .sum' type=kotlin.Int origin=null + SET_VAR 'var result: kotlin.Int [var] declared in .sum' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var result: kotlin.Int [var] declared in .sum' type=kotlin.Int origin=null other: GET_VAR 'val arg: kotlin.Int [val] declared in .sum' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt index dcf284d6474..05daead08ca 100644 --- a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt +++ b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt @@ -124,7 +124,7 @@ FILE fqName: fileName:/complexAugmentedAssignment.kt index: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val] GET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null - SET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null + SET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_1: kotlin.Int [val] declared in .test1' type=kotlin.Int origin=null GET_VAR 'val tmp_1: kotlin.Int [val] declared in .test1' type=kotlin.Int origin=null @@ -133,7 +133,7 @@ FILE fqName: fileName:/complexAugmentedAssignment.kt index: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:kotlin.Int [val] GET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null - SET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Int origin=null + SET_VAR 'var i: kotlin.Int [var] declared in .test1' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_2: kotlin.Int [val] declared in .test1' type=kotlin.Int origin=null GET_VAR 'val tmp_2: kotlin.Int [val] declared in .test1' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt b/compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt index dbf0effdebf..34a58261396 100644 --- a/compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt +++ b/compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt @@ -35,7 +35,7 @@ FILE fqName: fileName:/incrementDecrement.kt BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_0: kotlin.Int [val] declared in .testVarPrefix' type=kotlin.Int origin=null GET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null @@ -43,7 +43,7 @@ FILE fqName: fileName:/incrementDecrement.kt BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Unit origin=null CALL 'public final fun dec (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_1: kotlin.Int [val] declared in .testVarPrefix' type=kotlin.Int origin=null GET_VAR 'var x: kotlin.Int [var] declared in .testVarPrefix' type=kotlin.Int origin=null @@ -55,7 +55,7 @@ FILE fqName: fileName:/incrementDecrement.kt BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_2: kotlin.Int [val] declared in .testVarPostfix' type=kotlin.Int origin=null GET_VAR 'val tmp_2: kotlin.Int [val] declared in .testVarPostfix' type=kotlin.Int origin=null @@ -63,7 +63,7 @@ FILE fqName: fileName:/incrementDecrement.kt BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .testVarPostfix' type=kotlin.Unit origin=null CALL 'public final fun dec (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_3: kotlin.Int [val] declared in .testVarPostfix' type=kotlin.Int origin=null GET_VAR 'val tmp_3: kotlin.Int [val] declared in .testVarPostfix' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/expressions/kt24804.fir.txt b/compiler/testData/ir/irText/expressions/kt24804.fir.txt index 691a68aed3d..5d2b5d08020 100644 --- a/compiler/testData/ir/irText/expressions/kt24804.fir.txt +++ b/compiler/testData/ir/irText/expressions/kt24804.fir.txt @@ -11,7 +11,7 @@ FILE fqName: fileName:/kt24804.kt CONST Int type=kotlin.Int value=10 DO_WHILE label=l2 origin=DO_WHILE_LOOP body: BLOCK type=kotlin.Unit origin=null - SET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Int origin=null + SET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Int origin=null other: CONST Int type=kotlin.Int value=1 diff --git a/compiler/testData/ir/irText/expressions/kt27933.fir.txt b/compiler/testData/ir/irText/expressions/kt27933.fir.txt index b0ac62ee5a1..2f3cad55f60 100644 --- a/compiler/testData/ir/irText/expressions/kt27933.fir.txt +++ b/compiler/testData/ir/irText/expressions/kt27933.fir.txt @@ -13,7 +13,7 @@ FILE fqName: fileName:/kt27933.kt BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: BLOCK type=kotlin.Unit origin=null - SET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.String origin=null + SET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Any?): kotlin.String [operator] declared in kotlin.String' type=kotlin.String origin=null $this: GET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.String origin=null other: CONST String type=kotlin.String value="O" @@ -23,7 +23,7 @@ FILE fqName: fileName:/kt27933.kt arg0: GET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.String origin=null arg1: CONST String type=kotlin.String value="O" then: BLOCK type=kotlin.Unit origin=null - SET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.String origin=null + SET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.Unit origin=null CALL 'public final fun plus (other: kotlin.Any?): kotlin.String [operator] declared in kotlin.String' type=kotlin.String origin=null $this: GET_VAR 'var r: kotlin.String [var] declared in .box' type=kotlin.String origin=null other: CONST String type=kotlin.String value="K" diff --git a/compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt b/compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt index 45060815f18..3079a7b4312 100644 --- a/compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt +++ b/compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt @@ -15,7 +15,7 @@ FILE fqName: fileName:/whileDoWhile.kt body: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_0: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null GET_VAR 'val tmp_0: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null @@ -26,7 +26,7 @@ FILE fqName: fileName:/whileDoWhile.kt body: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_1: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null GET_VAR 'val tmp_1: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null @@ -39,7 +39,7 @@ FILE fqName: fileName:/whileDoWhile.kt body: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_2: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null GET_VAR 'val tmp_2: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null @@ -50,7 +50,7 @@ FILE fqName: fileName:/whileDoWhile.kt body: BLOCK type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .test' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_3: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null GET_VAR 'val tmp_3: kotlin.Int [val] declared in .test' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/lambdas/localFunction.fir.txt b/compiler/testData/ir/irText/lambdas/localFunction.fir.txt index 165e010036a..cb5b7f6fe03 100644 --- a/compiler/testData/ir/irText/lambdas/localFunction.fir.txt +++ b/compiler/testData/ir/irText/lambdas/localFunction.fir.txt @@ -7,7 +7,7 @@ FILE fqName: fileName:/localFunction.kt BLOCK_BODY VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val] GET_VAR 'var x: kotlin.Int [var] declared in .outer' type=kotlin.Int origin=null - SET_VAR 'var x: kotlin.Int [var] declared in .outer' type=kotlin.Int origin=null + SET_VAR 'var x: kotlin.Int [var] declared in .outer' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_0: kotlin.Int [val] declared in .outer.local' type=kotlin.Int origin=null GET_VAR 'val tmp_0: kotlin.Int [val] declared in .outer.local' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt b/compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt index 938071367d4..7d02f6bb97b 100644 --- a/compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt +++ b/compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt @@ -29,7 +29,7 @@ FILE fqName: fileName:/coercionInLoop.kt $this: GET_VAR 'var i: kotlin.Int [var] declared in .box' type=kotlin.Int origin=null VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val] GET_VAR 'var i: kotlin.Int [var] declared in .box' type=kotlin.Int origin=null - SET_VAR 'var i: kotlin.Int [var] declared in .box' type=kotlin.Int origin=null + SET_VAR 'var i: kotlin.Int [var] declared in .box' type=kotlin.Unit origin=null CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null $this: GET_VAR 'val tmp_0: kotlin.Int [val] declared in .box' type=kotlin.Int origin=null GET_VAR 'val tmp_0: kotlin.Int [val] declared in .box' type=kotlin.Int origin=null