1b018a6ead
Fold String.plus calls to IrStringConcatenationExpression.
28 lines
1.3 KiB
Plaintext
Vendored
28 lines
1.3 KiB
Plaintext
Vendored
IrFile /stringPlus.kt
|
|
IrFunction public fun test1(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Any): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
STRING_CONCATENATION type=kotlin.String
|
|
GET_VAR a type=kotlin.String
|
|
GET_VAR b type=kotlin.Any
|
|
IrFunction public fun test2(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
STRING_CONCATENATION type=kotlin.String
|
|
GET_VAR a type=kotlin.String
|
|
LITERAL String type=kotlin.String value='+'
|
|
GET_VAR b type=kotlin.Int
|
|
IrFunction public fun test3(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
STRING_CONCATENATION type=kotlin.String
|
|
GET_VAR a type=kotlin.String
|
|
LITERAL String type=kotlin.String value='+'
|
|
CALL .plus type=kotlin.Int operator=PLUS
|
|
$this: GET_VAR b type=kotlin.Int
|
|
other: LITERAL Int type=kotlin.Int value='1'
|
|
GET_VAR a type=kotlin.String
|