diff --git a/nac3core/src/typecheck/typedef/mod.rs b/nac3core/src/typecheck/typedef/mod.rs index ae31168f..fc6952fa 100644 --- a/nac3core/src/typecheck/typedef/mod.rs +++ b/nac3core/src/typecheck/typedef/mod.rs @@ -82,14 +82,14 @@ pub struct Call { pub loc: Option, } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct FuncArg { pub name: StrRef, pub ty: Type, pub default_value: Option, } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct FunSignature { pub args: Vec, pub ret: Type, @@ -166,7 +166,7 @@ impl RecordField { } /// Category of variable and value types. -#[derive(Clone)] +#[derive(Debug, Clone)] pub enum TypeEnum { TRigidVar { id: TypeVarId,