proposed @noreturn attribute

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 9 04:22:03 PDT 2017


On 7/9/2017 3:31 AM, Mr.D wrote:
> scope(exit) assert(0);

It needs to be part of the function signature, not the function implementation.


More information about the Digitalmars-d mailing list