digitalmars.D.bugs - [Issue 7327] New: Nested overload sets are not resolved correctly
- d-bugmail puremagic.com (41/41) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7327
- d-bugmail puremagic.com (9/9) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7327
http://d.puremagic.com/issues/show_bug.cgi?id=7327 Summary: Nested overload sets are not resolved correctly Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dawg dawgfoto.de --- Comment #0 from dawg dawgfoto.de 2012-01-20 10:04:18 PST --- ---- buga.d ---- void foo() {} ---- bugb.d ---- public import bugc, bugd; ---- bugc.d ---- void foo(int, int) {} ---- bugd.d ---- void foo(int) {} ---- main.d ---- import buga; import bugb; void main() { foo(2); } ----- dmd -c main ---- bug.d(6): Error: buga.foo at buga.d(1) conflicts with __anonymous at bug.d(6): Error: function buga.foo () is not callable using argument types (int) bug.d(6): Error: expected 0 arguments, not 1 for non-variadic function type void() -------------------------------------- This should resolve to bugd.foo. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7327 --- Comment #1 from dawg dawgfoto.de 2012-01-21 23:21:41 PST --- Follow up of: http://d.puremagic.com/issues/show_bug.cgi?id=7131 Github Pull: https://github.com/D-Programming-Language/dmd/pull/635 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2012