diff --git a/src/ir/interp.rs b/src/ir/interp.rs index 9e8a929..44d3a7e 100644 --- a/src/ir/interp.rs +++ b/src/ir/interp.rs @@ -227,7 +227,7 @@ impl Value { Ok(value) } - fn try_from_initializer( + pub fn try_from_initializer( initializer: &ast::Initializer, dtype: &Dtype, structs: &HashMap>,