digitalmars.D.bugs - [Issue 8438] New: [0.60 beta] delegate default arguments
- d-bugmail puremagic.com (27/27) Jul 25 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8438
- d-bugmail puremagic.com (12/12) Jul 25 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8438
http://d.puremagic.com/issues/show_bug.cgi?id=8438 Summary: [0.60 beta] delegate default arguments Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: destructionator gmail.com 10:08:50 PDT --- I tried the beta again and got a sea of errors... minimized to this: === void main() { void delegate(int a, int b = 10) test; test(10); // line 4 } === $ dmd regression2.d regression2.d(4): Error: expected 2 function arguments, not 1 In the 2.059 dmd, this would work, using the default argument on the delegate. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 25 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8438 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |DUPLICATE 11:44:18 PDT --- *** This issue has been marked as a duplicate of issue 3866 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 25 2012