mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
fix List.walkBackwards logic
This commit is contained in:
parent
426dcc2561
commit
d4bff7bcdc
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ pub fn listWalkBackwards(list: RocList, stepper: Opaque, stepper_caller: Caller2
|
|||
while (i > 0) {
|
||||
i -= 1;
|
||||
const element = source_ptr + i * element_width;
|
||||
stepper_caller(stepper, element, output, output);
|
||||
stepper_caller(stepper, element, b2, b1);
|
||||
|
||||
const temp = b1;
|
||||
b2 = b1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue