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()
}
}