Closed marc0olo closed 1 year ago
Can you craft a minimal example?
@marc0olo Are you talking about the case in this example where you have to explicitly redeclare the functions from the parent interface?
@marc0olo Are you talking about the case in this example where you have to explicitly redeclare the functions from the parent interface?
yeah I think that describes it. is there a specific reason it is like that? I assume this is on purpose then (sorry, I didn't check the docs yet)
This is done on purpose for the sake of explicitness. Note that interfaces are entirely abstract and they don't provide implementation.
I expected to be the parent interface indirectly known by the main contract. I am not sure if this is intended behavior to require it to be implemented explicitely.
I can't recall the case 100% right now, but I am pretty sure I experienced this.
assuming interface
A
inherits fromB
, I would still need to implement both,A
andB
, explicitely in the main contract.