- smart casts handling separated from expression generation
- improved infrastructure for desugaring
This commit is contained in:
Dmitry Petrov
2016-08-16 15:43:23 +03:00
committed by Dmitry Petrov
parent ecf6ab9e25
commit 0a57eb8ea4
21 changed files with 363 additions and 215 deletions
+12
View File
@@ -0,0 +1,12 @@
IrFile /augmentedAssignment1.kt
IrFunction public fun test(): kotlin.Int
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>
CALL .plus type=kotlin.Int operator=PLUSEQ
$this: GET_VAR x type=kotlin.Int
other: LITERAL Int type=kotlin.Int value='10'
RETURN type=<no-type>
GET_VAR x type=kotlin.Int