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

14 lines
746 B
Plaintext
Vendored

FILE /anonymousFunction.kt
PROPERTY public val anonymous: () -> kotlin.Unit
FIELD PROPERTY_BACKING_FIELD public val anonymous: () -> kotlin.Unit
EXPRESSION_BODY
BLOCK type=() -> kotlin.Unit origin=ANONYMOUS_FUNCTION
FUN local final fun <no name provided>(): kotlin.Unit
BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null
CALLABLE_REFERENCE '<no name provided>(): Unit' type=() -> kotlin.Unit origin=ANONYMOUS_FUNCTION
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-anonymous>(): () -> kotlin.Unit
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-anonymous>(): () -> Unit'
GET_FIELD 'anonymous: () -> Unit' type=() -> kotlin.Unit origin=null