From 43ef5d13ab20b77da3e4f7626116f0580aa1377e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 13 Apr 2022 19:14:31 +0800 Subject: fix diag of `newproxy` --- script/vm/library.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/vm/library.lua') 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) -- cgit v1.2.3