diff --git a/nac3core/src/toplevel/builtins.rs b/nac3core/src/toplevel/builtins.rs index a53aa15b..a0cd33c7 100644 --- a/nac3core/src/toplevel/builtins.rs +++ b/nac3core/src/toplevel/builtins.rs @@ -1341,6 +1341,8 @@ impl<'a> BuiltinBuilder<'a> { match prim { PrimDef::FunNpReshape => { + // TODO: Support scalar inputs, e.g., `np.reshape(99, (1, 1, 1, 1))` + let new_ndim_ty = self.unifier.get_fresh_var(Some("NewNDim".into()), None); let returned_ndarray_ty = make_ndarray_ty( self.unifier,