diff options
author | carsakiller <61925890+carsakiller@users.noreply.github.com> | 2022-09-08 19:47:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 19:47:00 -0400 |
commit | 00443e0e648786788666481ca446bfad732cbac8 (patch) | |
tree | a87c0164b05221f3e716ad60edc59f8c15c354cb /meta/template/basic.lua | |
parent | 8365eec4f4baa429d1f8a0d2f63132df8902db88 (diff) | |
download | lua-language-server-00443e0e648786788666481ca446bfad732cbac8.zip |
Replace old variable return syntax (#1540)
* fix: replace old variable return syntax #1539
* Update jit.status()
Co-authored-by: Michael Martin <flrgh@protonmail.com>
Diffstat (limited to 'meta/template/basic.lua')
-rw-r--r-- | meta/template/basic.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua index 4d718f79..262075c7 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -9,7 +9,7 @@ arg = {} ---@param v? T ---@param message? any ---@return T ----@return ... +---@return any ... function assert(v, message, ...) end ---@alias gcoptions @@ -163,7 +163,7 @@ function pairs(t) end ---@param arg1? any ---@return boolean success ---@return any result ----@return ... +---@return any ... function pcall(f, arg1, ...) end ---#DES 'print' @@ -269,7 +269,7 @@ function warn(message, ...) end ---@param err function ---@return boolean success ---@return any result ----@return ... +---@return any ... function xpcall(f, err) end ---#else ---#DES 'xpcall>5.2' @@ -278,7 +278,7 @@ function xpcall(f, err) end ---@param arg1? any ---@return boolean success ---@return any result ----@return ... +---@return any ... function xpcall(f, msgh, arg1, ...) end ---#end |