summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/vm/compiler.lua3
1 files changed, 3 insertions, 0 deletions
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