Files
kotlin/compiler/testData/renderFunctionDescriptorInExpression/parenthesizedFunExpr.kt
Denis Zharkov e078eaf15b Resolve annotations on lambda's descriptor
Also add test checking functional expression
2015-05-20 09:24:57 +03:00

9 lines
197 B
Kotlin
Vendored

annotation class Ann(val x: String)
fun foo(block: () -> Unit) = block.javaClass
fun box() {
foo( @Ann("OK1") (fun() {}))
}
//local final fun <no name provided>(): kotlin.Unit defined in box