Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
inline
/
interfaceDefaultMethod.kt
blob: ca2701f4da19f6f31a8fcf81bc7fcc1412888cb2 [
file
] [
log
] [
blame
]
interface
A
{
private
inline
fun
<
reified T
>
callDefault
(
b
:
()
->
String
):
String
{
"String"
is
T
return
b
()
}
fun ok
()
=
callDefault
<
String
>
{
"OK"
}
}
class
B
:
A
fun box
():
String
{
return
B
().
ok
()
}
// 0 INVOKESTATIC A$DefaultImpls.callDefault