http://d.puremagic.com/issues/show_bug.cgi?id=8074
--- Comment #5 from Andrej Mitrovic <[email protected]> 2013-02-07 09:54:00 PST --- (In reply to comment #4) > (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. Edit: Well except the case of taking the address of such a function which could prove problematic. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
