digitalmars.D - Right blame
- bearophile (3/3) Sep 15 2010 Is it possible to modify D error messages so when the precondition of a ...
- bearophile (3/3) Sep 16 2010 Once there's a good stack trace, there is no need of this. So please ign...
- Sean Kelly (2/3) Sep 16 2010 There should be a good stack trace on Linux and OSX now. If Linux is st...
Is it possible to modify D error messages so when the precondition of a function fails, dmd shows a (more useful) error at the calling point instead of giving an assert error at the assert line number inside the precondition? Maybe this is possible once dmd is able to generate the stack trace on Windows too. Bye, bearophile
Sep 15 2010
Once there's a good stack trace, there is no need of this. So please ignore this (I was sleepy). Bye and sorry, bearophile
Sep 16 2010
bearophile Wrote:Is it possible to modify D error messages so when the precondition of a function fails, dmd shows a (more useful) error at the calling point instead of giving an assert error at the assert line number inside the precondition? Maybe this is possible once dmd is able to generate the stack trace on Windows too.There should be a good stack trace on Linux and OSX now. If Linux is still an issue then -L--export-dynamic wasn't added to dmd.conf. I haven't checked 2.049 yet.
Sep 16 2010