Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
sam
/
samWrapperOfLambda.kt
blob: 5985143e50e2a8b976eb9444f5d9d2e8409df094 [
file
]
// SAM_CONVERSIONS: INDY
// 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:
// 0 NEW
// 0 INVOKEINTERFACE