On 7/29/16 12:44 AM, Timon Gehr wrote:

My parser accepts the following:

int function(int,int)ref functionPointer;

I wasn't really aware that this was illegal in DMD. (Other function
attributes, such as pure, are accepted.)

In fact, even the following is disallowed:
int foo(int)ref{}


Should I file an enhancement request?

Yes. Worst that happens is it doesn't get accepted :)

-Steve

Reply via email to