Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a94a6dc085d3d1f1010ea8bbc9d8754c3aa02b35
/
.
/
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