]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix Array @=> Array
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 16:41:26 +0000 (18:41 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 16:41:26 +0000 (18:41 +0200)
src/lib/array.c

index 81a3ebe55079b483e70c3848d4a9b573782f2176..1808730b000f76c9063812f1126f6b82ab9bdf92 100644 (file)
@@ -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))