diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-01 15:51:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-01 15:51:22 +0800 |
commit | 302526e4311cb7f54b327d7bdd999a2e60f89eba (patch) | |
tree | 34466aa1043df5d10d0dfd063283b51e566467d8 /server/src/vm/vm.lua | |
parent | 510c8d897837d33f24023f0b9384763be88b7e1e (diff) | |
download | lua-language-server-302526e4311cb7f54b327d7bdd999a2e60f89eba.zip |
更新转到定义
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r-- | server/src/vm/vm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index 9eb46c58..c140589c 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -62,6 +62,7 @@ function mt:buildTable(source) local value = self:getFirstInMulti(self:getExp(obj[2])) local key = obj[1] self:instantSource(key) + key:bindValue(value, 'set') if key.index then local index = self:getIndex(key) tbl:setChild(index, value) @@ -89,7 +90,6 @@ function mt:buildTable(source) end -- 处理写了一半的 key = value,把name类的数组元素视为哈希键 if obj.type == 'name' then - obj.isIndex = true end end end |