proposal: short => rewrite for function declarations

Andre Pany andre at s-e-a-p.de
Fri Oct 9 17:57:26 UTC 2020


On Friday, 9 October 2020 at 17:50:54 UTC, Adam D. Ruppe wrote:
> On Friday, 9 October 2020 at 17:40:56 UTC, Andre Pany wrote:
>> [...]
>
> Well, it will actually sometimes work.
>
> Remember it just rewrites => x; into { return x; } And dmd 
> *sometimes* lets you:
>
> [...]

Thanks for the explanation, makes sense.

Kind regards
Andre


More information about the Digitalmars-d mailing list