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

Timon Gehr timon.gehr at gmx.ch
Thu Jan 16 16:58:15 UTC 2020


On 16.01.20 13:51, Adam D. Ruppe wrote:
> 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.
> 

Yes, I fully support that.


More information about the Digitalmars-d mailing list