From ad6c11b49ce5067f523b1e0812023b431e52311e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 10 May 2020 17:56:30 +0200 Subject: [PATCH] :bug: Fix new template class flags --- src/lib/object_op.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/object_op.c b/src/lib/object_op.c index 6bc6df26..6a789a67 100644 --- a/src/lib/object_op.c +++ b/src/lib/object_op.c @@ -372,6 +372,8 @@ ANN static Class_Def template_class(const Env env, const Class_Def def, const Ty const Class_Def c = cpy_class_def(env->gwion->mp, def); c->base.xid = name; SET_FLAG(c, template | ae_flag_ref); + UNSET_FLAG(c, scan0 | ae_flag_scan1 | ae_flag_scan2 | + ae_flag_check | ae_flag_emit | ae_flag_valid); return c; } -- 2.43.0