On 5/18/2013 7:11 AM, Andrej Mitrovic wrote:
On 5/18/13, Rainer Schuetze <[email protected]> wrote:
i.e. the local import in the base class has higher precedence than
module scope. Is this change by design or a regression?
That had to have been a regression. It's basically allowing function
hijacking via imports. I think we should file this as a bug.
I don't agree. A base class's scope must override the top level module scope.
Also, a base class can always override what a derived class does. This is not
hijacking.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta