[Issue 8074] template-mixin example contradicts text
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 7 09:53:27 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8074
--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at 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: -------
More information about the Digitalmars-d-bugs
mailing list