Feedback Thread: DIP 1029--Add throw as Function Attribute--Final Review

Walter Bright newshound2 at digitalmars.com
Tue May 5 08:58:02 UTC 2020


On 4/17/2020 7:36 AM, Steven Schveighoffer wrote:
> As mentioned by Dennis here: 
> https://forum.dlang.org/post/fgszmctemzfkjniiibrx@forum.dlang.org
> 
> throw should be added to StorageClass, otherwise there is an inconsistency 
> between nothrow and throw.

You're right:

https://dlang.org/spec/declaration.html#StorageClass


More information about the Digitalmars-d mailing list