Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/core/internal/array/construction.d
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ Tarr _d_arrayctor(Tarr : T[], T)(return scope Tarr to, scope Tarr from) @trusted

static if (hasElaborateCopyConstructor!T)
{
size_t i;
// Use uint instead of size_t as a temporary workaround until this bug is fixed:
// https://issues.dlang.org/show_bug.cgi?id=22372
uint i;
try
{
for (i = 0; i < to.length; i++)
Expand Down