diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-05 17:26:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-05 17:26:22 +0800 |
commit | 3fbeac740ba3f2839c6ac62373bfeb1f7b1ea32c (patch) | |
tree | 5abf6d724e4b42d3040d786f00dc4b53e2c99c34 /server/src/matcher/compile.lua | |
parent | 3221c785e48107a6199fa601f3f44ffaf8d6e8f9 (diff) | |
download | lua-language-server-3fbeac740ba3f2839c6ac62373bfeb1f7b1ea32c.zip |
修正一个BUG
Diffstat (limited to 'server/src/matcher/compile.lua')
-rw-r--r-- | server/src/matcher/compile.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/matcher/compile.lua b/server/src/matcher/compile.lua index 4e0018a9..910aa357 100644 --- a/server/src/matcher/compile.lua +++ b/server/src/matcher/compile.lua @@ -232,6 +232,9 @@ function mt:setTable(var, tbl, mode) return end var.childs = tbl.childs + for _, child in pairs(tbl.childs) do + child.parent = var + end end function mt:setMeta(var, meta) |