Files
kotlin-fork/compiler/testData/ir/irText/assignments.txt
T
Dmitry Petrov 1b018a6ead Desugar basic binary operators (+, -, *, /, %, ..).
Fold String.plus calls to IrStringConcatenationExpression.
2016-10-18 09:08:11 +03:00

20 lines
776 B
Plaintext
Vendored

IrFile /assignments.kt
DUMMY Ref
IrFunction public fun test1(): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
VAR var x: kotlin.Int
LITERAL Int type=kotlin.Int value='0'
SET_VAR x type=<no-type>
LITERAL Int type=kotlin.Int value='1'
SET_VAR x type=<no-type>
CALL .plus type=kotlin.Int operator=PLUS
$this: GET_VAR x type=kotlin.Int
other: LITERAL Int type=kotlin.Int value='1'
IrFunction public fun test2(/*0*/ r: Ref): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
SET_PROPERTY .xtype=<no-type>
$this: GET_VAR r type=Ref
$value: LITERAL Int type=kotlin.Int value='0'