From 5e9e75b46fdacda1bb1479780af6a0132d7d17cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 1 Nov 2022 20:51:10 +0800 Subject: fix --- script/vm/compiler.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script') diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index a38329f8..52f1083b 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -211,6 +211,9 @@ local searchFieldSwitch = util.switch() end) : case 'doc.type.table' : call(function (suri, source, key, ref, pushResult) + if type(key) == 'string' and key:find(vm.ID_SPLITE) then + return + end for _, field in ipairs(source.fields) do local fieldKey = field.name if fieldKey.type == 'doc.type' then -- cgit v1.2.3