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: nob...@puremagic.com ReportedBy: destructiona...@gmail.com --- Comment #0 from Adam D. Ruppe <destructiona...@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: -------