DIP 1029---Add throw as Function Attribute---Community Review Round 1

Adam D. Ruppe destructionator at gmail.com
Thu Jan 16 12:51:10 UTC 2020


On Thursday, 16 January 2020 at 08:47:01 UTC, Timon Gehr wrote:
> Also, alarmingly, 'pure' the same issue even though it appears 
> in that expression:

Since lambdas are inferred, the attr: should not apply to them 
anyway. That's my proposal - exempt anything that is inferred 
from the attr: things (you can still attach attributes directly 
to it to force the issue).

There's no reason to force the issue with these; attr: is to 
kinda change the default and inference already is a more 
generally useful default.



More information about the Digitalmars-d mailing list