lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> it seems that yielding in a close call when the variable is closed by a
> vararg return can mess up the number of arguments returned since after the
> yield the OP_RETURN is executed again, however, it changed L->top to
> ci->top before the close call and so after the yield in the second
> execution of OP_RETURN n = cast_int(L->top - ra); will result in a
> different n.

Many thanks for the report and the detailed analysis.

-- Roberto