diff --git a/crates/compiler/mono/src/reset_reuse.rs b/crates/compiler/mono/src/reset_reuse.rs index fcada223f3..330307a842 100644 --- a/crates/compiler/mono/src/reset_reuse.rs +++ b/crates/compiler/mono/src/reset_reuse.rs @@ -655,7 +655,6 @@ fn insert_reset_reuse_operations_stmt<'a, 'i>( 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. // 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(); // Propagate jump reuse tokens upwards. diff --git a/crates/compiler/test_gen/src/gen_list.rs b/crates/compiler/test_gen/src/gen_list.rs index 84843f3139..879d6a8f4d 100644 --- a/crates/compiler/test_gen/src/gen_list.rs +++ b/crates/compiler/test_gen/src/gen_list.rs @@ -2257,7 +2257,7 @@ fn gen_wrap_len() { "# ), RocList::from_slice(&[3]), - RocList + RocList ); }