diff options
author | fesily <fesil@foxmail.com> | 2023-04-27 16:04:12 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2023-04-27 16:04:12 +0800 |
commit | a3ff71dbd33ea04337327d8a2ee3f2d450d19601 (patch) | |
tree | cfcffffc0d2995cbe3b6233956e1e68bd43c3ba3 /meta/template/coroutine.lua | |
parent | 004eb4fb0314851b96858152b49a44cff90564de (diff) | |
download | lua-language-server-a3ff71dbd33ea04337327d8a2ee3f2d450d19601.zip |
fix
Diffstat (limited to 'meta/template/coroutine.lua')
-rw-r--r-- | meta/template/coroutine.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua index 085ff6fc..91a3aba3 100644 --- a/meta/template/coroutine.lua +++ b/meta/template/coroutine.lua @@ -10,13 +10,14 @@ coroutine = {} ---@nodiscard function coroutine.create(f) end ----#if VERSION >= 5.3 then +---#if VERSION >= 5.4 then ---#DES 'coroutine.isyieldable>5.4' ---@param co? thread ---@return boolean ---@nodiscard function coroutine.isyieldable(co) end ---#else +---@version >5.2 ---#DES 'coroutine.isyieldable' ---@return boolean ---@nodiscard |