Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4783822fbc6124c4ba34c64fc79b53dde6b500f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
kt3523.kt
blob: bbc225f8fd88be9ed100e08b52fe0b03737a46a3 [
file
]
open
class
Base
{
fun doSomething
()
{
}
}
class
X
(
val action
:
()
->
Unit
)
{
}
class
Foo
:
Base
()
{
inner
class
Bar
()
{
val x
=
X
({
doSomething
()
})
}
}
fun box
()
:
String
{
Foo
().
Bar
()
return
"OK"
}