Discussion Thread: DIP 1043--Shortened Method Syntax--Community Review Round 1

max haughton maxhaton at gmail.com
Fri Feb 4 12:54:23 UTC 2022


On Friday, 4 February 2022 at 12:48:20 UTC, Rumbu wrote:
> Why ```AssignExpression``` and not ```Expression```?
>
>
> ```Expression``` will allow shortened syntax also for 
> constructors, destructors and void functions.

That's what the current implementation does.

Also unless you mean allowing comma expressions, AssignExpression 
is the highest level in the grammar available.


More information about the Digitalmars-d mailing list