Feature request: empty behavior on assert failure

Dukc ajieskola at gmail.com
Wed May 11 09:36:23 UTC 2022


On Wednesday, 11 May 2022 at 09:31:42 UTC, rikki cattermole wrote:
> In case you don't about this flag:
>
>  -checkaction=[D|C|halt|context]
>                     behavior on assert/boundscheck/finalswitch 
> failure
>
> Behavior on assert/boundscheck/finalswitch failure:
>   =[h|help|?]    List information on all available choices
>   =D             Usual D behavior of throwing an AssertError
>   =C             Call the C runtime library assert failure 
> function
>   =halt          Halt the program execution (very lightweight)
>   =context       Use D assert with context information (when 
> available)

I do. It lets one to choose between different ways to crash the 
program on assertion failure. It does not let to continue with 
defined behaviour.


More information about the Digitalmars-d mailing list