DIP 1022--foreach auto ref--Community Review Round 1
Dukc
ajieskola at gmail.com
Thu Aug 8 14:16:18 UTC 2019
On Thursday, 8 August 2019 at 14:04:30 UTC, Exil wrote:
>
> Like I said in the rest of the paragraph. It restricts it
> unncecssarily if.you deprecate it. You can't specify the type
> if you only allow "auto ref". There's no reason to deprecate
> it. So no, it does not work exactly as ref does now cause it
> won't work at all in some instances such as when using opApply.
Seems that this one needs clarification. Type should be able to
be specified between `auto ref` and the identifier it applies to.
Perhaps I need to include a grammar specification.
More information about the Digitalmars-d
mailing list