spir Wrote:
> Hello,
>
>
> Am I the only one who gets, as only kind of runtime errors, spectacularly
> helpful messages like:
>
> int f () {return 0;}
> void main () {
> assert (f() == 1);
> }
> ==>
> s...@o:~/prog/d/Text$ ./__trials__
> core.exception.asserter...@__trials__(44): Assertion failure
That is the location of the assertion failure. The stack trace actually needs
to have -L--export-dynamic as an argument this should be in the latest dmd.conf
file already. Also compile with -gc will help, didn't seem to be required
though.