summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-12 17:10:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-12 17:10:23 +0800
commit28d67699c4eb747d6b287c7ac67262b8b19ee73b (patch)
tree03d24c717aafacddbd4a36b28db04fe64e39e858 /meta/template/debug.lua
parentc3ecae5895b3a2ee24eb2c29194fbf2307b9ceb2 (diff)
downloadlua-language-server-28d67699c4eb747d6b287c7ac67262b8b19ee73b.zip
fix template/debug
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 26b6049e..67da98b1 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -109,7 +109,7 @@ function debug.getupvalue(f, up) end
---@return any
---@return boolean
function debug.getuservalue(u, n) end
----#else
+---#elseif VERSION >= 5.2 then
---#DES 'debug.getuservalue<5.3'
---@param u userdata
---@return any
@@ -173,7 +173,7 @@ function debug.setupvalue(f, up, value) end
---@param n integer
---@return userdata udata
function debug.setuservalue(udata, value, n) end
----#else
+---#elseif VERSION >= 5.2 then
---#DES 'debug.setuservalue<5.3'
---@param udata userdata
---@param value any