Files
kotlin-fork/compiler/testData/ir/irText/expressions/stringPlus.txt
T
2016-10-18 09:08:37 +03:00

28 lines
1.4 KiB
Plaintext
Vendored

FILE /stringPlus.kt
FUN public fun test1(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Any): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1
CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
other: GET_VAR b type=kotlin.Any operator=null
FUN public fun test2(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2
CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
other: CONST String type=kotlin.String value='+'
other: GET_VAR b type=kotlin.Int operator=null
FUN public fun test3(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3
CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
other: CONST String type=kotlin.String value='+'
other: CALL .plus type=kotlin.Int operator=PLUS
$this: GET_VAR b type=kotlin.Int operator=null
other: CONST Int type=kotlin.Int value='1'
other: GET_VAR a type=kotlin.String operator=null