Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
asmLike
/
receiverMangling
/
inlineClassCapture.kt
blob: cff096f5a946fb13e991641d57a9a2efef7c6bc9 [
file
]
// IR_DIFFERENCE
// LOCAL_VARIABLE_TABLE
class
Foo
{
fun foo
()
{
block
{
this
@Foo
}
}
inner
class
Bar
{
fun bar
()
{
block
{
this
@Foo
this
@Bar
block
{
this
@Foo
this
@Bar
}
}
}
}
}
inline
fun block
(
block
:
()
->
Unit
)
=
block
()