[Issue 19465] dmd segfaults on endless mixin recursion
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 4 16:43:06 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19465
Stefan Koch <uplink.coder at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uplink.coder at gmail.com
--- Comment #1 from Stefan Koch <uplink.coder at gmail.com> ---
Hmm, I think if you are asking for a stack-overflow you should not be surprised
if you get it.
This is one of these problems which you get by interpreting a turing-complete
language at compile-time.
Introducing an artificial recursion limit has been done, but people (weka) had
to increase it in their fork.
Checking for a limit is not _huge_ deal but it is work which does not have to
be done.
--
More information about the Digitalmars-d-bugs
mailing list