This commit is contained in:
Ayaz Hafiz 2023-06-22 14:13:42 -05:00
parent adf961ba0b
commit e019ec6736
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -12,6 +12,7 @@ use roc_types::{
use crate::env::Env;
// TODO: eventually, we could possibly use the arena in Env instead.
pub(crate) fn deep_copy_var_in(env: &mut Env, rank: Rank, var: Variable, arena: &Bump) -> Variable {
let mut visited = bumpalo::collections::Vec::with_capacity_in(256, arena);