-- MINOR: coroutine functions given a non-thread say "coroutine expected"; Lua 5.4.7
-- says "thread expected" (lcorolib getco uses luaL_checktype -> typeerror "thread").
-- C Lua: bad argument #1 to 'resume' (thread expected, got nil)
-- RemedyLua: bad argument #1 to 'resume' (coroutine expected, got nil)
-- Cause: stdlib/coroutine.rs argument check wording.
-- (os.date of an unrepresentable time also differed during the run; fixed in the tree.)
local a =
local b =
local c =
return a, a, b, b, c, c