diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-28 20:20:41 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-28 20:20:41 +0800 |
commit | d1274f277907b4b7e45dd018f5617708ea37636d (patch) | |
tree | d2a10cc5f7cc3aca34362f6cf24b67da377b4167 /server/src/vm | |
parent | 0bc67627a4409a08e34be0b44cba928cdacf8192 (diff) | |
download | lua-language-server-d1274f277907b4b7e45dd018f5617708ea37636d.zip |
检查重复field
Diffstat (limited to 'server/src/vm')
-rw-r--r-- | server/src/vm/value.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index e924f642..43f278c0 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -549,7 +549,7 @@ function mt:setEmmy(emmy) emmyClass:eachField(function (field) local name = field:getName() local value = field:bindValue() - self:setChild(name, value, field:getSource()[2]) + self:setChild(name, value, field:getSource()) end) elseif emmy.type == 'emmy.type' then ---@type EmmyType |