On 8/2/2012 12:40 PM, Peter Alexander wrote:
Nice update, but broke Derelict2 :-(

Regression: delegates with default arguments are broken (worked in 2.059)


void foo(void delegate(int x = 0) fun)
{
     fun(); // Error: expected 1 function arguments, not 0
}

Known issue, it's an inevitable result (it never worked right anyway):

http://d.puremagic.com/issues/show_bug.cgi?id=8454

P.S. You might want to monitor the beta releases.

Reply via email to