[Issue 4028] delegates with differing default arguments lead to same template instantiation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 29 16:16:25 PDT 2010


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



--- Comment #1 from nfxjfg at gmail.com 2010-03-29 16:16:23 PDT ---
PS: the worst thing about this bug is that the actual delegate type the
template is using is practically chosen randomly. E.g. the program above thinks
moo4 has a default argument. If you switch the order method!(Foo, "moo3") and
method!(Foo, "moo4") are called, moo4 will be handled correctly, but it thinks
moo3 has a required argument.

-- 
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