summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-27 14:29:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-27 14:29:18 +0800
commit33403e6e582cfc0069e1b51bedec58f1ac603dae (patch)
treee2de677ff45400a78a94a64df4c0c5caaa8dc768 /script/vm
parent24f2bab098c176acdd58a5dc82ec037b2ded8eeb (diff)
downloadlua-language-server-33403e6e582cfc0069e1b51bedec58f1ac603dae.zip
update
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index ff1d9259..ad3295f7 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1398,7 +1398,7 @@ local compilerSwitch = util.switch()
if guide.isGet(source) and bindAs(source) then
return
end
- ---@type string|vm.node
+ ---@type (string|vm.node)?
local key = guide.getKeyName(source)
if key == nil and source.index then
key = vm.compileNode(source.index)