Feedback on Átila's Vision for D

Exil Exil at gmall.com
Sat Oct 19 20:08:04 UTC 2019


On Saturday, 19 October 2019 at 17:29:25 UTC, Adam D. Ruppe wrote:
> On Saturday, 19 October 2019 at 15:55:38 UTC, Max Samukha wrote:
>> One cringeworthy problem with D's implementation of interfaces 
>> and classes is how D resolves method conflicts. Conflicting 
>> interface methods are silently collapsed into one 
>> implementation, which seems to be by design
>
> I don't see anything about it in the spec... I wonder if this 
> is legitimately by design or just a plain oversight for all 
> these years.

Looking at bugzilla there's a lot of issues related with multiple 
interfaces.

Found one that is similar to this one: 
https://issues.dlang.org/show_bug.cgi?id=4435

You shouldn't be able to make an ambiguous call like that to 
begin with.


More information about the Digitalmars-d mailing list