http://d.puremagic.com/issues/show_bug.cgi?id=8074



--- Comment #4 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-02-07 
09:53:20 PST ---
(In reply to comment #3)
> We should fix this, it's clearly a crass error. We can't afford to arbitrarily
> pick the last lexical declaration in case of an ambiguity.

But there is no ambiguity, the two functions are:

void func(int x) { writeln("Foo.func(), x = ", x); }
void func() { writeln("Bar.func(), x = ", x); }

Neither of these can hijack one another.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to