July 25, 2012 [Issue 8438] New: [0.60 beta] delegate default arguments | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Adam D. Ruppe <destructionator@gmail.com> 2012-07-25 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: ------- |
July 25, 2012 [Issue 8438] [0.60 beta] delegate default arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | 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 --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2012-07-25 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: ------- |
Copyright © 1999-2021 by the D Language Foundation