Skip to content

Commit 760e404

Browse files
committed
[修复] table的类型错误
1 parent b815469 commit 760e404

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

script/vm/type.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,7 @@ function vm.getTableValue(uri, tnode, knode, inversion)
656656
end
657657
end
658658
if field.type == 'tableexp'
659-
and field.value
660-
and field.tindex == 1 then
659+
and field.value then
661660
if inversion then
662661
if vm.isSubType(uri, 'integer', knode) then
663662
result:merge(vm.compileNode(field.value))

0 commit comments

Comments
 (0)