fix a small bug in OP_ARGARY.
@@ -39,7 +39,6 @@ static uint16_t free_vm_bitmap[MAX_VM_COUNT / 16 + 1];
-
//================================================================
/*! display "not supported" message
*/
@@ -1200,7 +1199,7 @@ static inline int op_argary( mrbc_vm *vm, mrbc_value *regs EXT )
// copy a block object
mrbc_decref( &regs[a+1] );
- regs[a+1] = regs[m1+d+1];
+ regs[a+1] = reg0[array_size+1];
mrbc_incref( &regs[a+1] );
return 0;
