Closed
Description
While messing with the require
/coroutine
issue with MoonScript, I found out that you had forgotten to replace package.loaded.coroutine
with your own version. As a consequence, require"coroutine"
returns the original Lua version.
FWIW, overwriting the global with the cached package solves the "yield across C boundary" problem, since there are now two coroutine
implementations running in parallel, but I suppose that it causes other issues down the line (I only did a few basic tests).
Metadata
Metadata
Assignees
Labels
No labels