Struct inheritance

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Sep 20 10:29:24 UTC 2024


On 20/09/2024 10:14 PM, IchorDev wrote:
> On Thursday, 19 September 2024 at 15:56:06 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> As an idea this has come up in Razvan's DConf 2024 talk.
>>
>> 1. Support inheritance on struct, for other structs.
>> 2. ``opDispatch`` function, may work in place of ``alias this`` when 
>> no parent exists.
> 
> What about interfaces?

While I do want signatures which would fill this void, the purpose of 
this is to get rid of alias this which has some problematic behaviors in 
symbol lookup.


More information about the dip.ideas mailing list