Skip to content

Commit 7669e0a

Browse files
authored
Cherry pick #13987 to 17.4 (#13988)
1 parent 4c4c389 commit 7669e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler/Utilities/illib.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ module ResizeArray =
610610
// * doing a block copy using `List.CopyTo(index, array, index, count)` (requires more copies to do the mapping)
611611
// none are significantly better.
612612
for i in 0 .. takeCount - 1 do
613-
holder[i] <- f items[i]
613+
holder[i] <- f items[startIndex + i]
614614

615615
yield holder
616616
|]

0 commit comments

Comments
 (0)