Fix TypedArray.reduce tests against RAB

* reduce callback has call signature «accumulator, kValue, 𝔽(k), O »
This commit is contained in:
Marko Lahma 2024-07-30 13:08:18 +03:00 committed by Philip Chimento
parent dc36c7eae9
commit 5dc04b7332
2 changed files with 2 additions and 2 deletions

@ -19,7 +19,7 @@ let resizeTo;
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeMidIteration(n) {
function ResizeMidIteration(acc, n) {
// Returns true by default.
return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo);
}

@ -19,7 +19,7 @@ let resizeTo;
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeMidIteration(n) {
function ResizeMidIteration(acc, n) {
return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo);
}