CLOVIS
09/25/2024, 8:51 PMinterface Foo {
fun Bar.foo() = println("foo")
}
class FooImpl : Foo {
override fun Bar.foo() {
super.foo() // doesn't compile, what to put instead?
}
}
Vampire
09/25/2024, 11:24 PMinterface Foo {
fun doFoo() = println("foo")
fun Bar.foo() = doFoo()
}
class FooImpl : Foo {
override fun Bar.foo() {
super.doFoo()
}
}
Vampire
09/25/2024, 11:24 PMDaniel Pitts
09/26/2024, 2:05 AM