diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-02-13 15:43:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-02-13 15:43:52 +0800 |
commit | 48a608d423901c75138d51c9bcffbb0c03f4f92f (patch) | |
tree | 14034ac9ed1b9c9e228b64760d5836c5b2c34e1d /script | |
parent | 457931e51b1fec849635fd43355de1215e058228 (diff) | |
download | lua-language-server-48a608d423901c75138d51c9bcffbb0c03f4f92f.zip |
fix #1902
Diffstat (limited to 'script')
-rw-r--r-- | script/vm/tracer.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/tracer.lua b/script/vm/tracer.lua index b526d087..a8aa0c7c 100644 --- a/script/vm/tracer.lua +++ b/script/vm/tracer.lua @@ -641,7 +641,8 @@ local lookIntoChild = util.switch() and handler.args[1] and tracer.getMap[handler.args[1]] then -- if type(x) == 'string' then - tracer:lookIntoChild(handler, topNode:copy()) + tracer:lookIntoChild(handler, topNode) + topNode = topNode:copy() if action.op.type == '==' then topNode:narrow(tracer.uri, checker[1]) if outNode then |