Comment #0 by destructionator — 2012-07-25T10:08:50Z
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.
Comment #1 by bugzilla — 2012-07-25T11:44:18Z
*** This issue has been marked as a duplicate of issue 3866 ***