On Sunday, 3 February 2013 at 08:51:58 UTC, Jonathan M Davis wrote:
auto prop(int[] arr) {...}

in module a.b.c, and you have

auto prop(int[] arr) {...}

in module a.d.e, how do you deal with code that does

import a.b.c;
import a.d.e;
auto var = arr.prop;

Syntactically, there's no way to indicate which of the two functions you mean.

Couldn't an alias make it ?

alias propFromA = a.b.c.prop;
auto var = arr.propFromA;

Reply via email to