Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
funInterface
/
funInterfaceCallInLambda.kt
blob: 12b27e7e3cf215463d04de2db530078969664c43 [
file
] [
log
] [
blame
]
fun
interface
Action
{
fun run
()
}
fun runAction
(
a
:
Action
)
{
a
.
run
()
}
fun builder
(
c
:
()
->
Unit
)
{
c
()
}
fun box
():
String
{
var
res
=
"FAIL"
builder
{
runAction
{
res
=
"OK"
}
}
return
res
}