On 07/10/2013 07:47 PM, Brian Schott wrote:
There are severel comments in the part of the dmd front end that show
the syntax that the parser is looking for. Here's a listing:

// function type (parameters) { statements... }
// delegate type (parameters) { statements... }
// function (parameters) { statements... }
// delegate (parameters) { statements... }
// function { statements... }
// delegate { statements... }
// (parameters) { statements... }
// { statements... }
// identifier => expression

Based on the fact that "function (parameters) => expression" isn't
written out like the others, I'm going to file an accepts-valid bug for
this.

Accepts-valid is not a bug.

Reply via email to