diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-10 20:32:51 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-10 20:32:51 +0800 |
commit | cf5c0eaeb60c5610e7b9fe34f1d2df1376cb856d (patch) | |
tree | 009b7f0896c6d60654a153e3297141df45a9b597 /server/libs | |
parent | ce9e8a5033dd9ea9bfd2bb2c53af0906e638db28 (diff) | |
download | lua-language-server-cf5c0eaeb60c5610e7b9fe34f1d2df1376cb856d.zip |
穿透pcall与xpcall
Diffstat (limited to 'server/libs')
-rw-r--r-- | server/libs/@lua/basic.lni | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/libs/@lua/basic.lni b/server/libs/@lua/basic.lni index 85d5d6da..333e44cd 100644 --- a/server/libs/@lua/basic.lni +++ b/server/libs/@lua/basic.lni @@ -346,6 +346,7 @@ type = 'table' type = 'nil' [pcall] +special = pcall [[.args]] name = 'f' type = 'function' @@ -522,6 +523,7 @@ type = 'boolean' optional = 'after' [xpcall] +special = xpcall [[.args]] name = 'f' type = 'function' @@ -544,6 +546,7 @@ type = '...' ['xpcall Lua 5.1'] name = 'xpcall' version = 'Lua 5.1' +special = xpcall [[.args]] name = 'f' type = 'function' |