rfc:interface-default-methods
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
rfc:interface-default-methods [2023/07/03 03:41] – Fix grammar theodorejb | rfc:interface-default-methods [2023/07/03 16:22] – Note the resolution algorithm is not complete. levim | ||
---|---|---|---|
Line 44: | Line 44: | ||
- If the above rules fail, then the class needs to implement the method itself, possibly delegating to one of the interfaces. | - If the above rules fail, then the class needs to implement the method itself, possibly delegating to one of the interfaces. | ||
- | This RFC proposes the same. However, rule 2 has not yet been implemented so I am unsure how feasible it is. | + | This RFC proposes the same. However, rule 2 is only partially implemented at this time. |
Here's an example of a class delegating to another method: | Here's an example of a class delegating to another method: |
rfc/interface-default-methods.txt · Last modified: 2023/07/17 15:06 by levim