Files
kotlin-fork/compiler/testData/ir/irText/expressions/smoke.txt
T
2016-10-18 09:09:25 +03:00

38 lines
1.8 KiB
Plaintext
Vendored

FILE /smoke.kt
FUN public fun testFun(): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='testFun(): String'
CONST String type=kotlin.String value='OK'
PROPERTY public val testSimpleVal: kotlin.Int = 1
FIELD PROPERTY_BACKING_FIELD public val testSimpleVal: kotlin.Int = 1
EXPRESSION_BODY
CONST Int type=kotlin.Int value='1'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimpleVal>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testSimpleVal>(): Int'
GET_FIELD 'testSimpleVal: Int' type=kotlin.Int origin=null
PROPERTY public val testValWithGetter: kotlin.Int
FUN public fun <get-testValWithGetter>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testValWithGetter>(): Int'
CONST Int type=kotlin.Int value='42'
PROPERTY public var testSimpleVar: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public var testSimpleVar: kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value='2'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimpleVar>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testSimpleVar>(): Int'
GET_FIELD 'testSimpleVar: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-testSimpleVar>(<set-?>: kotlin.Int): kotlin.Unit
BLOCK_BODY
SET_FIELD 'testSimpleVar: Int' type=kotlin.Unit origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
PROPERTY public var testVarWithAccessors: kotlin.Int
FUN public fun <get-testVarWithAccessors>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testVarWithAccessors>(): Int'
CONST Int type=kotlin.Int value='42'
FUN public fun <set-testVarWithAccessors>(v: kotlin.Int): kotlin.Unit
BLOCK_BODY