Unary operators.

This commit is contained in:
Dmitry Petrov
2016-08-22 16:05:42 +03:00
committed by Dmitry Petrov
parent 97593fa19e
commit 985f3b20c7
42 changed files with 629 additions and 270 deletions
+3 -3
View File
@@ -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