• cremno's avatar
    fix masgn nosplat array rhs bug · 5cd877be
    cremno authored
    The rest lhs variable has to be an empty array if rhs is an array with
    less elements than pre + post lhs variables. The codegen generated
    OP_ARRAY with an invalid length (such as 127 for *a, b = []) because rn
    was negative.
    5cd877be
codegen.c 61.6 KB