Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
localFunInLambda
/
localFunInLambdaCapturesAnotherFun.kt
blob: eff2d539dd1820ff8c1991df6c3477e87cbf9a35 [
file
]
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
package
test
public
inline
fun myRun
(
block
:
()
->
Unit
)
{
return
block
()
}
// FILE: 2.kt
import
test
.*
fun box
():
String
{
var
res
=
""
myRun
{
fun f1
()
{
res
=
"OK"
}
fun f2
()
{
f1
()
}
f2
()
}
return
res
}