Files
kotlin-fork/compiler/testData/ir/irText/expressions/references.txt
T
Dmitry Petrov 5c720845a8 Drop IrPropertyAccessor (and subclasses).
Drop IrLocalPropertyAccessor (and subclasses).
Introduce IrField.
2016-10-18 09:09:15 +03:00

51 lines
2.3 KiB
Plaintext
Vendored

FILE /references.kt
PROPERTY public val ok: kotlin.String = "OK"
FIELD public val ok: kotlin.String = "OK"
EXPRESSION_BODY
CONST String type=kotlin.String value='OK'
FUN public fun <get-ok>(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-ok>(): String'
GET_BACKING_FIELD 'ok: String' type=kotlin.String operator=null
PROPERTY public val ok2: kotlin.String = "OK"
FIELD public val ok2: kotlin.String = "OK"
EXPRESSION_BODY
CALL '<get-ok>(): String' type=kotlin.String operator=GET_PROPERTY
FUN public fun <get-ok2>(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-ok2>(): String'
GET_BACKING_FIELD 'ok2: String' type=kotlin.String operator=null
PROPERTY public val ok3: kotlin.String
FUN public fun <get-ok3>(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-ok3>(): String'
CONST String type=kotlin.String value='OK'
FUN public fun test1(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(): String'
CALL '<get-ok>(): String' type=kotlin.String operator=GET_PROPERTY
FUN public fun test2(x: kotlin.String): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(String): String'
GET_VAR 'value-parameter x: String' type=kotlin.String operator=null
FUN public fun test3(): kotlin.String
BLOCK_BODY
VAR val x: kotlin.String = "OK"
CONST String type=kotlin.String value='OK'
RETURN type=kotlin.Nothing from='test3(): String'
GET_VAR 'x: String' type=kotlin.String operator=null
FUN public fun test4(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4(): String'
CALL '<get-ok3>(): String' type=kotlin.String operator=GET_PROPERTY
PROPERTY public val kotlin.String.okext: kotlin.String
FUN public fun kotlin.String.<get-okext>(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-okext>() on String: String'
CONST String type=kotlin.String value='OK'
FUN public fun kotlin.String.test5(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='test5() on String: String'
CALL '<get-okext>() on String: String' type=kotlin.String operator=GET_PROPERTY
$receiver: $RECEIVER of 'test5() on String: String' type=kotlin.String