ecf6ab9e25
- Redo smart casts handling (yet again). Front-end typing information can't be used for expressions in IR, since it provides inferred type for PSI expressions for the last corresponding resoled call. - Assignments handling, initial implementation.
48 lines
2.1 KiB
Plaintext
Vendored
48 lines
2.1 KiB
Plaintext
Vendored
IrFile /references.kt
|
|
IrProperty public val ok: kotlin.String = "OK" getter=null setter=null
|
|
IrExpressionBody
|
|
LITERAL String type=kotlin.String value='OK'
|
|
IrProperty public val ok2: kotlin.String = "OK" getter=null setter=null
|
|
IrExpressionBody
|
|
GET_PROPERTY .ok type=kotlin.String
|
|
IrProperty public val ok3: kotlin.String getter=<get-ok3> setter=null
|
|
IrPropertyGetter public fun <get-ok3>(): kotlin.String property=ok3
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
LITERAL String type=kotlin.String value='OK'
|
|
IrFunction public fun test1(): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
GET_PROPERTY .ok type=kotlin.String
|
|
IrFunction public fun test2(/*0*/ x: kotlin.String): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
GET_VAR x type=kotlin.String
|
|
IrFunction public fun test3(): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=false
|
|
VAR val x: kotlin.String = "OK"
|
|
LITERAL String type=kotlin.String value='OK'
|
|
RETURN type=<no-type>
|
|
GET_VAR x type=kotlin.String
|
|
IrFunction public fun test4(): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
GET_PROPERTY .ok3 type=kotlin.String
|
|
IrProperty public val kotlin.String.okext: kotlin.String getter=<get-okext> setter=null
|
|
IrPropertyGetter public fun kotlin.String.<get-okext>(): kotlin.String property=okext
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
LITERAL String type=kotlin.String value='OK'
|
|
IrFunction public fun kotlin.String.test5(): kotlin.String
|
|
IrExpressionBody
|
|
BLOCK type=<no-type> hasResult=false isDesugared=true
|
|
RETURN type=<no-type>
|
|
GET_PROPERTY .okext type=kotlin.String
|
|
$receiver: $RECEIVER of: test5 type=kotlin.String
|