diff --git a/compiler/testData/ir/irText/lambdas/nonLocalReturn.txt b/compiler/testData/ir/irText/lambdas/nonLocalReturn.txt index 7a0c08872ff..ec893fa0d5d 100644 --- a/compiler/testData/ir/irText/lambdas/nonLocalReturn.txt +++ b/compiler/testData/ir/irText/lambdas/nonLocalReturn.txt @@ -31,22 +31,21 @@ FILE /nonLocalReturn.kt FUNCTION_REFERENCE '(): Unit' type=() -> kotlin.Unit origin=LAMBDA FUN public fun test3(): kotlin.Unit BLOCK_BODY - CALL 'run(() -> Nothing): Nothing' type=kotlin.Nothing origin=null - : Nothing - block: BLOCK type=() -> kotlin.Nothing origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun (): kotlin.Nothing + CALL 'run(() -> Unit): Unit' type=kotlin.Unit origin=null + : Unit + block: BLOCK type=() -> kotlin.Unit origin=LAMBDA + FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun (): kotlin.Unit BLOCK_BODY - RETURN type=kotlin.Nothing from='(): Nothing' + RETURN type=kotlin.Nothing from='(): Unit' CALL 'run(() -> Nothing): Nothing' type=kotlin.Nothing origin=null : Nothing block: BLOCK type=() -> kotlin.Nothing origin=LAMBDA FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun (): kotlin.Nothing BLOCK_BODY - RETURN type=kotlin.Nothing from='(): Nothing' - TYPE_OP type=kotlin.Nothing origin=IMPLICIT_CAST typeOperand=kotlin.Nothing - GET_OBJECT 'Unit' type=kotlin.Unit + RETURN type=kotlin.Nothing from='(): Unit' + GET_OBJECT 'Unit' type=kotlin.Unit FUNCTION_REFERENCE '(): Nothing' type=() -> kotlin.Nothing origin=LAMBDA - FUNCTION_REFERENCE '(): Nothing' type=() -> kotlin.Nothing origin=LAMBDA + FUNCTION_REFERENCE '(): Unit' type=() -> kotlin.Unit origin=LAMBDA FUN public fun testLrmFoo1(ints: kotlin.collections.List): kotlin.Unit VALUE_PARAMETER value-parameter ints: kotlin.collections.List BLOCK_BODY @@ -89,4 +88,3 @@ FILE /nonLocalReturn.kt CALL 'print(Int): Unit' type=kotlin.Unit origin=null message: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null FUNCTION_REFERENCE '(Int): Unit' type=(kotlin.Int) -> kotlin.Unit origin=LAMBDA -