Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b7de3709e46eb073303a1e8aac4c22656e4f2863
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
kt4106.kt
blob: e1cc3164b0c03efebd52a7d81a07b9fc8ebee3dc [
file
]
fun
<
T
>
eval
(
fn
:
()
->
T
)
=
fn
()
class
Foo
(
private
val s
:
String
)
{
inner
class
Inner
{
private
val x
=
eval
{
this
@Foo
.
s
}
}
val f
=
Inner
()
}
fun box
():
String
{
Foo
(
"!"
)
return
"OK"
}