April 06, 2011 [Issue 4028] delegates with differing default arguments lead to same template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=4028 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au --- Comment #8 from Don <clugdbug@yahoo.com.au> 2011-04-06 07:10:00 PDT --- (In reply to comment #7) > Is it possible/good to encode the simple constant default arguments (ints, strings, etc) in the type/signature of the delegate, and refuse the other types of default arguments? What good would adding that corner case be? I think it's just a bizarre and silly feature. It's a horrendously complicated and confusing way of doing one special case of currying. If you really need this ability (which I doubt), you can achieve the same thing via a struct with two opCall overloads. Just kill it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 08, 2011 [Issue 4028] delegates with differing default arguments lead to same template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=4028 --- Comment #9 from yebblies <yebblies@gmail.com> 2011-06-08 07:30:13 PDT --- *** Issue 4664 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 03, 2011 [Issue 4028] delegates with differing default arguments lead to same template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=4028 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |yebblies@gmail.com Resolution| |DUPLICATE --- Comment #10 from yebblies <yebblies@gmail.com> 2011-07-03 22:22:51 EST --- *** This issue has been marked as a duplicate of issue 3646 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation