https://issues.dlang.org/show_bug.cgi?id=21258
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <[email protected]> --- dlang/dmd pull request #11749 "Fix 21258 - Tuple parameters use the first element of a default tuple value" was merged into stable: - 8d3fe8fe5bf12a4bf493ddcd78bc4f6a82118784 by Geod24: Fix 21258 - Tuple parameters use the first element of a default tuple value The logic tried to use a single variable for both keeping track of the original index and the extended index, but actually only tracked the extended index. Since `if (tupleStartIdx < eidx) tupleStartIdx = eidx` would be true for every iteration, we would always assign the value at index 0. https://github.com/dlang/dmd/pull/11749 --
