diff --git a/crates/aiken-lang/src/builder.rs b/crates/aiken-lang/src/builder.rs index 1703c016..2a4f170e 100644 --- a/crates/aiken-lang/src/builder.rs +++ b/crates/aiken-lang/src/builder.rs @@ -1,4 +1,4 @@ -use std::{cell::RefCell, rc::Rc, sync::Arc}; +use std::{rc::Rc, sync::Arc}; use indexmap::{IndexMap, IndexSet}; use itertools::Itertools; diff --git a/crates/aiken-lang/src/uplc.rs b/crates/aiken-lang/src/uplc.rs index f334f9be..345921ba 100644 --- a/crates/aiken-lang/src/uplc.rs +++ b/crates/aiken-lang/src/uplc.rs @@ -3277,7 +3277,7 @@ impl<'a> CodeGenerator<'a> { let mut map = mono_types.into_iter().collect_vec(); let param_type = ¶m_types[index]; - map.append(&mut get_generics_and_type(&arg.tipo, ¶m_type)); + map.append(&mut get_generics_and_type(&arg.tipo, param_type)); mono_types = map.into_iter().collect(); }