RFC: 2 enhancement DIPs that need feedback

Walter Bright newshound2 at digitalmars.com
Wed May 21 04:55:50 UTC 2025


On 5/14/2025 9:56 AM, Timon Gehr wrote:
> Go ahead and implement it. It's harder, not a simplification. Suddenly, whenever 
> you are parsing any expression, you will have to take into account the 
> possibility that it is actually a variable declaration. The way DMD deals with 
> lvalues is also ill-equipped to allow this to be added easily. Furthermore, you 
> now have to do proper scope handling for short-circuiting operations.

There's also a problem with handling destruction of the declaration.


More information about the Digitalmars-d mailing list