summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-14 21:03:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-14 21:03:47 +0800
commit28961050d5c5994f2cd65ebcc67a9d66318c1052 (patch)
tree6b736632f19497ab566e7eef8b7d71b7f948be1b /script/vm/compiler.lua
parent40f1c261e52898d3c9d187bde02033f6071a187d (diff)
downloadlua-language-server-28961050d5c5994f2cd65ebcc67a9d66318c1052.zip
resolve #1112
only show signatures matching the entered parameters
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 1335ef7b..3c16a4d8 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -559,6 +559,7 @@ local function matchCall(source)
if needRemove then
local newNode = myNode:copy()
newNode:removeNode(needRemove)
+ newNode:setData('originNode', myNode)
vm.setNode(source, newNode, true)
end
end