IR elements fixes & refactorings
This commit is contained in:
committed by
Dmitry Petrov
parent
7879fb7084
commit
64abecf996
+3
-1
@@ -1,3 +1,5 @@
|
||||
IrFile /boxOk.kt
|
||||
IrFunction public fun box(): kotlin.String
|
||||
??? IrDummyBody
|
||||
IrExpressionBody
|
||||
IrReturnExpression type=kotlin.String
|
||||
IrLiteral String type=kotlin.String value='OK'
|
||||
|
||||
+18
-12
@@ -1,21 +1,27 @@
|
||||
IrFile /smoke.kt
|
||||
IrFunction public fun testFun(): kotlin.String
|
||||
IrBlockExpression type=kotlin.Nothing
|
||||
IrReturnExpression type=kotlin.Nothing
|
||||
IrStringLiteral OK
|
||||
IrExpressionBody
|
||||
IrBlockExpression type=kotlin.Nothing
|
||||
IrReturnExpression type=kotlin.Nothing
|
||||
IrLiteral String type=kotlin.String value='OK'
|
||||
IrProperty public val testSimpleVal: kotlin.Int = 1
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrIntLiteral type=kotlin.Int value=1
|
||||
IrExpressionBody
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrLiteral Int type=kotlin.Int value='1'
|
||||
IrProperty public val testValWithGetter: kotlin.Int
|
||||
IrPropertyGetter public fun <get-testValWithGetter>(): kotlin.Int
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrIntLiteral type=kotlin.Int value=42
|
||||
IrExpressionBody
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrLiteral Int type=kotlin.Int value='42'
|
||||
IrProperty public var testSimpleVar: kotlin.Int
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrIntLiteral type=kotlin.Int value=2
|
||||
IrExpressionBody
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrLiteral Int type=kotlin.Int value='2'
|
||||
IrProperty public var testVarWithAccessors: kotlin.Int
|
||||
IrPropertyGetter public fun <get-testVarWithAccessors>(): kotlin.Int
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrIntLiteral type=kotlin.Int value=42
|
||||
IrExpressionBody
|
||||
IrReturnExpression type=kotlin.Int
|
||||
IrLiteral Int type=kotlin.Int value='42'
|
||||
IrPropertySetter public fun <set-testVarWithAccessors>(/*0*/ v: kotlin.Int): kotlin.Unit
|
||||
IrBlockExpression type=kotlin.Unit
|
||||
IrExpressionBody
|
||||
IrBlockExpression type=kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user