Skip to content

Commit

Permalink
Fix TypedArray.reduce tests against RAB
Browse files Browse the repository at this point in the history
* reduce callback has call signature «accumulator, kValue, 𝔽(k), O »
  • Loading branch information
lahma committed Jul 30, 2024
1 parent 616dcad commit fa61370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fa61370

Please sign in to comment.