Note To Myself:

May have misunderstood exactly what a Lua thread means in this context, so this bug report might be incorrect.

Post the following to Platform Feedback - Developer Hub when the Post Approval ‘renovation process’ is finished.


Title: coroutine.wrap return parameter incorrect

Thread: The Roblox DevHub page for the Lua global coroutine displays the coroutine.wrap function as returning a thread when it really returns the function that was wrapped. The description for the wrap function actually correctly states that it does return a function, however.

Mistake is boxed in red here:

1 Like