Skip to content

Commit ee55df9

Browse files
authored
Merge pull request #1027 from phanen/types
fix(type): luajit coroutine.running()
2 parents eeb90e3 + df7e1e0 commit ee55df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/emmylua_code_analysis/resources/std/coroutine.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function coroutine.close(co) end
6161
---@return any ...
6262
function coroutine.resume(co, val1, ...) end
6363

64-
---@version 5.1
64+
---@version 5.1, JIT
6565
---
6666
--- Returns the running coroutine, or nil when called by the main thread.
6767
---@return thread?

0 commit comments

Comments
 (0)