summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/debug.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 6e74e1f6..7db63e49 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -112,8 +112,8 @@ function debug.getupvalue(f, up) end
---#if VERSION >= 5.4 then
---#DES 'debug.getuservalue>5.4'
----@param u userdata
----@param n integer
+---@param u userdata
+---@param n? integer
---@return any
---@return boolean
---@nodiscard
@@ -180,7 +180,7 @@ function debug.setupvalue(f, up, value) end
---#DES 'debug.setuservalue>5.4'
---@param udata userdata
---@param value any
----@param n integer
+---@param n? integer
---@return userdata udata
function debug.setuservalue(udata, value, n) end
---#elseif VERSION >= 5.2 or JIT then