From a3ff71dbd33ea04337327d8a2ee3f2d450d19601 Mon Sep 17 00:00:00 2001 From: fesily Date: Thu, 27 Apr 2023 16:04:12 +0800 Subject: fix --- meta/template/coroutine.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/template') 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 -- cgit v1.2.3