diff options
author | unknown <sumnekosun@intranet.123u.com> | 2019-04-02 18:00:26 +0800 |
---|---|---|
committer | unknown <sumnekosun@intranet.123u.com> | 2019-04-02 18:00:26 +0800 |
commit | a483e2072f50a3f763c8fa63db37b5551050998f (patch) | |
tree | 1747c1b437c88c1991c646476d9c33ead34ff295 /server/src/vm | |
parent | a006de81d0c4c6e97580d5d8ac9dc7a0cb2b5945 (diff) | |
download | lua-language-server-a483e2072f50a3f763c8fa63db37b5551050998f.zip |
修正报错
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 73c47cb0..1c7fe04e 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -167,7 +167,7 @@ function mt:getChild(index, source) end parent = method end - if not value then + if not value and source then value = create('any', source) self:setChild(index, value) value.uri = self.uri |