Things that make writing a clean binding system more difficult

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 29 05:24:35 PDT 2016


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


More information about the Digitalmars-d mailing list