[Issue 10693] cartesianProduct with over 7 ranges causes segfault at compile time

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 11 22:13:47 PDT 2014


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

--- Comment #8 from hsteoh at quickfur.ath.cx ---
Latest git HEAD no longer segfaults at compile-time (new cartesianProduct
implementation no longer uses exponential number of templates); but now a new
problem is exposed: an empty cartesianProduct triggers a range error at
runtime. Looks like a missing .empty check somewhere...

--


More information about the Digitalmars-d-bugs mailing list