Things that make writing a clean binding system more difficult
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 30 03:07:17 PDT 2016
On Saturday, 30 July 2016 at 07:10:30 UTC, Timon Gehr wrote:
> How does it not fix the problem? int function(int,int)ref is
> the type of a ref-return function.
>
Because storage class binding are already ambiguous and
>> postfix ref is not accepted because it can only apply to the
>> type I
>> guess.
>
> How does it apply to the type?
>
> This is one more example of design being unprincipled to boot.
>
> Well, it's more or less reasonable save for the parser
> inconsistencies.
More information about the Digitalmars-d
mailing list