On Thursday, 7 December 2017 at 21:12:30 UTC, Q. Schroll wrote:

This implies that I cannot implement two syntactically identical methods with different implementations, like if J had void f(); too, I cannot have different implementations for I.f() and J.f(). That would be relevant if they should behave differently e.g. if they have conflicting contracts.

Yes, you are right. I think it would be nice if D supported a way to disambiguate the definitions like C# does, by fully qualifying the names. But, it's a very rare situation.

If you think D should support something like this, the first thing to do is to file a bug report.

Mike

Reply via email to