Walter Bright wrote:
grauzone wrote:
Walter Bright wrote:
It is exactly analogous to a null pointer exception. And it's darned
useful.
On Linux, it just generates a segfault. And then you have no idea
where the program went wrong. dmd outputting incorrect debugging
information (so you have troubles using gdb or even addr2line) doesn't
really help here.
Then the problem is incorrect dwarf output, not null pointers.
Indeed. I was just commenting in how badly the current D implementation
handles it, and how useless the result is.
Not so useful.
It's *still* far more useful than generating corrupt output and
pretending all is ok.
But nobody argues in favor of that?