Or do I have to do something like this : ```inter...
# announcements
j
Or do I have to do something like this :
Copy code
interface BaseInterface<F> {
fun example(foo:F)
}

interface Feature1 : BaseInterface<myFoo : Foo> {
fun example2(myFoo : Foo, param: String) { example(foo) }
}
but then can I implement other stuff calling example2?
z
You could maybe implement
example2
as an extension function on
BaseInterface
j
How?
z
Copy code
fun <Foo> BaseInterface<Foo>.example2(
    myFoo: Foo, 
    param: String
) {
  example(foo)
}
c
@Shizo one other thing: try and use Threads for questions like this.
z
@codeslubber you tagged the wrong user
👍🏻 1
c
I don’t think so?
z
You tagged Shizo, not Skizo