From: Jérémie Astor Date: Mon, 14 Dec 2020 23:30:32 +0000 (+0100) Subject: :art: Make @Foreach non inferable X-Git-Tag: nightly~1105^2~21 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7722866096824617d787484e3999fea98bc8b898;p=gwion.git :art: Make @Foreach non inferable --- diff --git a/src/lib/foreach.c b/src/lib/foreach.c index 37bac3df..6ca26469 100644 --- a/src/lib/foreach.c +++ b/src/lib/foreach.c @@ -30,7 +30,7 @@ OP_CHECK(opck_foreach_scan) { GWION_IMPORT(foreach) { const Type t_foreach = gwi_struct_ini(gwi, "@Foreach:[A]"); - set_tflag(t_foreach, tflag_ntmpl); + set_tflag(t_foreach, tflag_ntmpl | tflag_infer); GWI_BB(gwi_item_ini(gwi, "@internal", "val")) GWI_BB(gwi_item_end(gwi, ae_flag_none, NULL)) GWI_BB(gwi_struct_end(gwi))