halt with optional message?

bearophile bearophileHUGS at lycos.com
Thu Aug 11 11:05:41 PDT 2011


Timon Gehr:

> Maybe a better solution would be to have @noreturn functions in the language. (or,
> prettier, a type of which no values exist).

Yeah. Recently Walter has added something like that inside the DMD source code. GNU C uses (noreturn).

Bye,
bearophile


More information about the Digitalmars-d mailing list