diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 19:14:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 19:14:31 +0800 |
commit | 43ef5d13ab20b77da3e4f7626116f0580aa1377e (patch) | |
tree | bd8f1669f7c1b45f1e6f80bf7dbd30c869637a41 | |
parent | 8168da31f270fd82c2e541cfd3fc304ffccc1c9c (diff) | |
download | lua-language-server-43ef5d13ab20b77da3e4f7626116f0580aa1377e.zip |
fix diag of `newproxy`
-rw-r--r-- | script/vm/library.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/library.lua b/script/vm/library.lua index 1a8d8ffd..49f7adb0 100644 --- a/script/vm/library.lua +++ b/script/vm/library.lua @@ -22,7 +22,7 @@ local globalLibraryNames = { 'setmetatable', 'tonumber', 'tostring', 'type', '_VERSION', 'warn', 'xpcall', 'require', 'unpack', 'bit32', 'coroutine', 'debug', 'io', 'math', 'os', 'package', 'string', 'table', - 'utf8', + 'utf8', 'newproxy', } local globalLibraryNamesMap function vm.isGlobalLibraryName(name) |