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

user1234 user1234 at 1234.de
Wed Jan 22 22:47:51 UTC 2020

On Tuesday, 14 January 2020 at 10:44:17 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community 
> Review for DIP 1029, "Add throw as Function Attribute":
> https://github.com/dlang/DIPs/blob/8c48c98a0495f73db9a2d5c4aef502b9febe9673/DIPs/DIP1029.md
> All review-related feedback on and discussion of the DIP should 
> occur in this thread. The review period will end at 11:59 PM ET 
> on January 28, or when I make a post declaring it complete.
> At the end of Round 1, if further review is deemed necessary, 
> the DIP will be scheduled for another round of Community 
> Review. Otherwise, it will be queued for the Final Review and 
> Formal Assessment.
> Anyone intending to post feedback in this thread is expected to 
> be familiar with the reviewer guidelines:
> https://github.com/dlang/DIPs/blob/master/docs/guidelines-reviewers.md
> *Please stay on topic!*
> Thanks in advance to all who participate.
> #DIP1029
> #throw

Impossible without cleaning a bit the attributes before. instead 
of adding a new keyword we should make all the function 
attributes '@' attributes, and deprecate 'nothrow' as a keyword 
and encourage @nothrow instead.

This DIP encourages the bizarre situation where function 
attributes can be '@' attribs or keywords.

More information about the Digitalmars-d mailing list