Coroutine status is wrong

Oct 16, 2014 at 3:33 AM
Hi,

After the corrount.create, the status is wrong.
co=coroutine.create(function() print('hi') end)

print(coroutine.status(co))
NeoLua result
normal
Lua result:
suspended
Oct 16, 2014 at 5:58 PM
Sorry, it was a missunderstanding of the lua documentation.

Fixed in Changeset 32248
Marked as answer by tzhaoh on 10/16/2014 at 7:53 PM