mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fix bug in List.walkRight accumulator types
This commit is contained in:
parent
c8e1937ebe
commit
3f91bd4b23
1 changed files with 1 additions and 2 deletions
|
@ -788,8 +788,7 @@ pub fn list_walk_right<'a, 'ctx, 'env>(
|
||||||
let new_current = call_site_value
|
let new_current = call_site_value
|
||||||
.try_as_basic_value()
|
.try_as_basic_value()
|
||||||
.left()
|
.left()
|
||||||
.unwrap_or_else(|| panic!("LLVM error: Invalid call by pointer."))
|
.unwrap_or_else(|| panic!("LLVM error: Invalid call by pointer."));
|
||||||
.into_int_value();
|
|
||||||
|
|
||||||
builder.build_store(accum_alloca, new_current);
|
builder.build_store(accum_alloca, new_current);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue