Sent to me by Bruce Carneal. ``` long f(int e = 0, uint[] optional...) => optional.length; long f0() => f(); // compiler segfaults ``` ``` core.exception.ArraySliceError@src/dmd/typesem.d(838): slice [1 .. 0] has a larger lower index than upper index ---------------- ??:? onArraySliceError [0x5f0da9310bc6] ??:? _d_arraybounds_slicep [0x5f0da9300d36] src/dmd/typesem.d:838 int dmd.typesem.callMatch(... ```
@RazvanN7 created dlang/dmd pull request #16834 "Fix Bugzilla Issue 24760 - ICE on variadic after default argument" fixing this issue: - Fix Bugzilla Issue 24760 - ICE on variadic after default argument https://github.com/dlang/dmd/pull/16834
*** Issue 14651 has been marked as a duplicate of this issue. ***
dlang/dmd pull request #16834 "Fix Bugzilla Issue 24760 - ICE on variadic after default argument" was merged into stable: - ba942e42d5b3a01d131950c06b26848172c2f830 by RazvanN7: Fix Bugzilla Issue 24760 - ICE on variadic after default argument https://github.com/dlang/dmd/pull/16834
dlang/dmd pull request #16967 "Rebase stable6" was merged into master: - 17b469f57853e8057127dc4dde974445a280a75c by RazvanN7: Fix Bugzilla Issue 24760 - ICE on variadic after default argument https://github.com/dlang/dmd/pull/16967
dlang/dmd pull request #17069 "Merge stable" was merged into master: - 219b4f07e47f9a0b4c4304b6b02620335bc2a172 by RazvanN7: Fix Bugzilla Issue 24760 - ICE on variadic after default argument https://github.com/dlang/dmd/pull/17069