From: Jérémie Astor Date: Sun, 10 May 2020 16:41:26 +0000 (+0200) Subject: :bug: Fix Array @=> Array X-Git-Tag: nightly~1590 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9774d94535287a008004c3cbfeadf1e13c1f5f0d;p=gwion.git :bug: Fix Array @=> Array --- diff --git a/src/lib/array.c b/src/lib/array.c index 81a3ebe5..1808730b 100644 --- a/src/lib/array.c +++ b/src/lib/array.c @@ -336,7 +336,7 @@ GWION_IMPORT(array) { GWI_BB(gwi_func_end(gwi, vm_vector_rem, ae_flag_none)) GWI_BB(gwi_class_end(gwi)) - GWI_BB(gwi_oper_ini(gwi, (m_str)OP_ANY_TYPE, "@Array", NULL)) + GWI_BB(gwi_oper_ini(gwi, "@Array", "@Array", NULL)) GWI_BB(gwi_oper_add(gwi, opck_array_at)) GWI_BB(gwi_oper_end(gwi, "@=>", ObjectAssign)) GWI_BB(gwi_oper_ini(gwi, "nonnull @Array", (m_str)OP_ANY_TYPE, NULL))