lua-users home
lua-l archive

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



is from almost five months ago; only now we got some time to look at
it.

The code in question calls lua_pcall on a suspended thread. Although
this was not documented, such call is illegal. You can only resume a
suspended thread (one with status LUA_YIELD). By chance it works
when there are no line hooks, but it is invalid nonetheless.
        IMHO, it's not obvious.
It'll be great if there will be some notice in documentation and error message in code.

--
WBR, Anatoly Ahmedov