[Issue 7926] stack overflow on recursive string mixin

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 17 03:12:25 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=7926

--- Comment #4 from Artem Borisovskiy <kolos80 at bk.ru> ---
(In reply to Ivan Kazmenko from comment #3)
> Still, the diagnostics can be better than just "Error: out of memory".  At
> least showing a [reasonably-sized tail of] what consumed all that memory.
That's right. "Segmentation fault" gives no clue on what's went bad, and it
happens at compile time, so it's pretty hard to find the source of the problem.
You might know your own sources well, but digging into the compiler sources is
not an option for most, even experienced, developers.

--


More information about the Digitalmars-d-bugs mailing list