summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 16:54:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 16:54:29 +0800
commit72effeb8f9d9f3c04d4f5aa4f228dcd1d84f2815 (patch)
tree7dd84148241e2d68930250fc8c294ffa80506134 /meta
parent09512074acae34fccc60f31a8c84d022e03ddf23 (diff)
downloadlua-language-server-72effeb8f9d9f3c04d4f5aa4f228dcd1d84f2815.zip
update
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua4
-rw-r--r--meta/template/debug.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 4509258e..8cae0ef5 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -209,8 +209,8 @@ function select(index, ...) end
function setfenv(f, table) end
---#DES 'setmetatable'
----@param table table
----@param metatable table
+---@param table table
+---@param metatable? table
---@return table
function setmetatable(table, metatable) end
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index f62aca6e..7cb417b2 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -167,7 +167,7 @@ function debug.setlocal(thread, level, index, value) end
---#DES 'debug.setmetatable'
---@generic T
---@param value T
----@param meta table
+---@param meta? table
---@return T value
function debug.setmetatable(value, meta) end