Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionFunctions
/
extensionFunctionInDelegatedSam.kt
blob: a19adf3a65920061d3820e7e3d0aaa5cf4a17f2f [
file
]
fun
interface
Base
{
fun
String
.
print
():
String
}
class
Derived
(
b
:
Base
)
:
Base
by
b
fun box
():
String
{
val a
=
Derived
(
Base
{
this
})
with
(
a
){
return
"OK"
.
print
()
}
}