diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-25 11:38:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-25 11:38:54 +0800 |
commit | 1db38f35caa8352cd2930a71b484a61c61e7252b (patch) | |
tree | fb053d163a264d54f69731952ff051323d55ce05 /server/src | |
parent | 26a5138067432428d5a14db625b3589f653fa065 (diff) | |
download | lua-language-server-1db38f35caa8352cd2930a71b484a61c61e7252b.zip |
允许写入数据
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/matcher/vm.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua index 5f984d6a..fdfeeb21 100644 --- a/server/src/matcher/vm.lua +++ b/server/src/matcher/vm.lua @@ -42,10 +42,9 @@ local function readOnly(t) if type(v) == 'table' then v = readOnly(v) end + self[k] = v return v end, - __newindex = function (self, k, v) - end, __len = function (self) return #t end, |