On Sunday, 17 December 2017 at 00:10:27 UTC, Anonymouse wrote:
If you return inside a scopeguard though, the exception (or error!) is swallowed. https://run.dlang.io/is/GEtQ6D

The scope guard will not 'swallow' it, if you use -release mode.

Which suggests to me, that assert(0) operates differently when 'not' using -release mode.

My 'guess' is, that release mode issues a halt instruction, whereas in non-release mode it is just an exception like any other exception.

Reply via email to