proposed @noreturn attribute

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 9 15:32:43 PDT 2017


On 07/09/2017 03:30 PM, Meta wrote:
> alias Bottom = typeof(assert(0)); //for convenience

Speaking of which, I think we shouldn't give it a name, same as 
typeof(null). Just keep it typeof(assert(0)). Then wherever it occurs it 
is immediately clear it has a special status requiring a second look 
(which it does). -- Andrei


More information about the Digitalmars-d mailing list