mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
fixed test
This commit is contained in:
parent
9d4c3bcfb9
commit
a4ca864fe3
2 changed files with 1 additions and 2 deletions
|
@ -655,7 +655,6 @@ fn insert_reset_reuse_operations_stmt<'a, 'i>(
|
||||||
if used_reuse_tokens.is_empty() {
|
if used_reuse_tokens.is_empty() {
|
||||||
// We evaluated the first pass using a cloned environment to be able to do a second pass with the same environment.
|
// We evaluated the first pass using a cloned environment to be able to do a second pass with the same environment.
|
||||||
// But if we don't need a second environment, we override the passed env with the first pass env.
|
// But if we don't need a second environment, we override the passed env with the first pass env.
|
||||||
// TODO verify if this works as intended.
|
|
||||||
*environment = first_pass_remainder_environment.clone();
|
*environment = first_pass_remainder_environment.clone();
|
||||||
|
|
||||||
// Propagate jump reuse tokens upwards.
|
// Propagate jump reuse tokens upwards.
|
||||||
|
|
|
@ -2257,7 +2257,7 @@ fn gen_wrap_len() {
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
RocList::from_slice(&[3]),
|
RocList::from_slice(&[3]),
|
||||||
RocList<i64>
|
RocList<usize>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue