On Friday, 10 October 2014 at 20:44:11 UTC, Marc Schütz wrote:
On Friday, 10 October 2014 at 17:09:08 UTC, IgorStepanov wrote:
I've created DIP for my pull request.
DIP: http://wiki.dlang.org/DIP66
PR: https://github.com/D-Programming-Language/dmd/pull/3998
Please, comment it.
I understand that as a first step it was suggested to implement
the strictest behaviour regarding conflicts, namely to disallow
them entirely.
However, I think more permissive strategies are useful, like in
this example:
https://github.com/D-Programming-Language/dmd/pull/3998#issuecomment-58570742
Conflict resolution can work like overload resolution, with
different levels of matching and partial ordering.
There isn't hard to change resolving strategy. This will need to
change one function definition.
Thus we able to implement strictest now and after some time of
new feature using, relax the behaviour. This will not require
significant efforts.