42 lines
2.2 KiB
Plaintext
Vendored
42 lines
2.2 KiB
Plaintext
Vendored
IrFile /variableAsFunctionCall.kt
|
|
IrFunction public fun kotlin.String.k(): () -> kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false operator=null
|
|
RETURN type=<no-type>
|
|
DUMMY KtLambdaExpression type=() -> kotlin.String
|
|
IrFunction public fun test1(/*0*/ f: () -> kotlin.Unit): kotlin.Unit
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false operator=null
|
|
RETURN type=<no-type>
|
|
CALL .invoke type=kotlin.Unit operator=INVOKE
|
|
$this: GET_VAR f type=() -> kotlin.Unit operator=VARIABLE_AS_FUNCTION
|
|
IrFunction public fun test2(/*0*/ f: kotlin.String.() -> kotlin.Unit): kotlin.Unit
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false operator=null
|
|
RETURN type=<no-type>
|
|
CALL .invoke type=kotlin.Unit operator=INVOKE
|
|
$this: GET_VAR f type=kotlin.String.() -> kotlin.Unit operator=VARIABLE_AS_FUNCTION
|
|
$receiver: CONST String type=kotlin.String value='hello'
|
|
IrFunction public fun test3(): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false operator=null
|
|
RETURN type=<no-type>
|
|
CALL .invoke type=kotlin.String operator=null
|
|
$this: CALL .k type=() -> kotlin.String operator=null
|
|
$receiver: CONST String type=kotlin.String value='hello'
|
|
IrFunction public fun test4(/*0*/ ns: kotlin.String?): kotlin.String?
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false operator=null
|
|
RETURN type=<no-type>
|
|
BLOCK type=kotlin.String? hasResult=true operator=SAFE_CALL
|
|
VAR val tmp0_safe_receiver: kotlin.String?
|
|
GET_VAR ns type=kotlin.String? operator=null
|
|
WHEN type=kotlin.String? operator=SAFE_CALL
|
|
if: CALL .EQEQ type=kotlin.Boolean operator=EQEQ
|
|
arg0: GET_VAR tmp0_safe_receiver type=kotlin.String? operator=null
|
|
arg1: CONST Null type=kotlin.Nothing? value='null'
|
|
then: CONST Null type=kotlin.Nothing? value='null'
|
|
else: CALL .invoke type=kotlin.String operator=null
|
|
$this: CALL .k type=() -> kotlin.String operator=null
|
|
$this: GET_VAR tmp0_safe_receiver type=kotlin.String? operator=null
|