Unary operators.
This commit is contained in:
committed by
Dmitry Petrov
parent
97593fa19e
commit
985f3b20c7
+3
-3
@@ -12,7 +12,7 @@ IrFile /stringPlus.kt
|
||||
RETURN type=<no-type>
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
GET_VAR a type=kotlin.String operator=null
|
||||
LITERAL String type=kotlin.String value='+'
|
||||
CONST String type=kotlin.String value='+'
|
||||
GET_VAR b type=kotlin.Int operator=null
|
||||
IrFunction public fun test3(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
||||
IrExpressionBody
|
||||
@@ -20,8 +20,8 @@ IrFile /stringPlus.kt
|
||||
RETURN type=<no-type>
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
GET_VAR a type=kotlin.String operator=null
|
||||
LITERAL String type=kotlin.String value='+'
|
||||
CONST String type=kotlin.String value='+'
|
||||
CALL .plus type=kotlin.Int operator=PLUS
|
||||
$this: GET_VAR b type=kotlin.Int operator=null
|
||||
other: LITERAL Int type=kotlin.Int value='1'
|
||||
other: CONST Int type=kotlin.Int value='1'
|
||||
GET_VAR a type=kotlin.String operator=null
|
||||
|
||||
Reference in New Issue
Block a user