The operand of `OP_ARYDUP` may not be an array; fix
This commit also fix
MODIFY
src/vm.c
src/vm.c
@@ -2618,7 +2618,12 @@ RETRY_TRY_BLOCK:
CASE(OP_ARYDUP, B) {
mrb_value ary = regs[a];
+ if (mrb_array_p(ary)) {
ary = mrb_ary_new_from_values(mrb, RARRAY_LEN(ary), RARRAY_PTR(ary));
+ }
+ else {
+ ary = mrb_ary_new_from_values(mrb, 1, &ary);
+ }
regs[a] = ary;
NEXT;
}

The operand of `OP_ARYDUP` may not be an array; fix #4094

This commit also fix #4096.