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