Can we just have struct inheritence already?

Walter Bright newshound2 at digitalmars.com
Tue Jun 18 19:50:29 UTC 2019


On 6/18/2019 5:07 AM, Timon Gehr wrote:
> As far as I can tell, a lot of the incidental complexity is introduced in bug 
> fixes.

I've caught a lot of PRs for fixes that were incorrect. A lot slip by me.

> Furthermore, the issue is:
> - features whose implementation is spread all over the code base without an easy 
> way to find all components of their implementation.

You're absolutely right on that. I really want to encapsulate this stuff - most 
recently https://github.com/dlang/dmd/pull/9993

> - features that should work the same (e.g. @nogc inference and pure inference) 
> that have a different and incompatible implementation.

Generally that is the result of incremental accretion of features.


More information about the Digitalmars-d mailing list