mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
uses Num.subWrap for List.last
This commit is contained in:
parent
313bc2ab86
commit
59b850ba50
1 changed files with 1 additions and 1 deletions
|
@ -1958,7 +1958,7 @@ fn list_last(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
||||||
len_var,
|
len_var,
|
||||||
// Num.sub (List.len list) 1
|
// Num.sub (List.len list) 1
|
||||||
RunLowLevel {
|
RunLowLevel {
|
||||||
op: LowLevel::NumSub,
|
op: LowLevel::NumSubWrap,
|
||||||
args: vec![
|
args: vec![
|
||||||
(
|
(
|
||||||
arg_var,
|
arg_var,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue