Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
sam
/
samWrapperOfLambda.kt
blob: f091753e2a0ac6691cbbea6a1a2d3a6d2a27ba00 [
file
]
// FILE: JFoo.java
public
class
JFoo
{
public
static
void
foo
(
Runnable
f
)
{
f
.
run
();
}
}
// FILE: Test.kt
fun test
()
{
JFoo
.
foo
({})
}
// Lambda inlined into run(), no wrapper class generated:
// 1 NEW
// 0 INVOKEINTERFACE