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

15 lines
816 B
Plaintext
Vendored

FILE /samAdapter.kt
FUN public fun test1(): kotlin.Unit
BLOCK_BODY
VAR val hello: java.lang.Runnable
CALL 'Runnable(() -> Unit): Runnable' type=java.lang.Runnable origin=null
function: BLOCK type=() -> kotlin.Unit origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
BLOCK_BODY
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='Hello, world!'
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
CALL 'run(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'hello: Runnable' type=java.lang.Runnable origin=null