summaryrefslogtreecommitdiff
path: root/server/src/vm/value.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-12 10:27:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-12 10:27:09 +0800
commit70f06353bf44da468331508f8306f6d8bd80f82f (patch)
treec2f195af0b985b0ee5e0a39d37f3863c143ca9f5 /server/src/vm/value.lua
parent396cc15abad6f2d331412714a04965b0ee1ca2a7 (diff)
downloadlua-language-server-70f06353bf44da468331508f8306f6d8bd80f82f.zip
修正一些bug
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r--server/src/vm/value.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index a3aad7a6..e6cbf876 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -207,6 +207,7 @@ function mt:mergeValue(value)
self:setType(tp, rate)
end
end
+ value._type = self._type
if value._child then
if not self._child then
self._child = {}