forgetting -betterC means no runtime bounds checking?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Jan 5 10:17:21 UTC 2023
On 05/01/2023 10:17 PM, areYouSureAboutThat wrote:
> src/rt/dwarfeh.d:330: uncaught exception reached top of stack
> This might happen if you're missing a top level catch in your fiber or
> signal handler
> core.exception.ArrayIndexError at test.d(25): index [5] exceeds array of
> length 5
> Aborted (core dumped)
Looks like an exception to me, which is what the default for bounds
check on error will do.
Because you are not using the druntime entry point, its not being caught
and made to look nice to you.
More information about the Digitalmars-d-learn
mailing list