diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-12 17:57:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-12 17:57:12 +0800 |
commit | 6c92b9a7cc10971e4ec6402fe9c23b1839c58c80 (patch) | |
tree | b4e593ebdececafb57a71962371fe9d9d89030c5 /script/vm/variable.lua | |
parent | 5febd3a533762920ab4085fc8d3494fd64b3a6bb (diff) | |
download | lua-language-server-6c92b9a7cc10971e4ec6402fe9c23b1839c58c80.zip |
stash
Diffstat (limited to 'script/vm/variable.lua')
-rw-r--r-- | script/vm/variable.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/vm/variable.lua b/script/vm/variable.lua index 539d8507..150ad18b 100644 --- a/script/vm/variable.lua +++ b/script/vm/variable.lua @@ -344,12 +344,14 @@ function vm.getVariableFields(source, includeGets) end ---@param source parser.object +---@return boolean function vm.compileByVariable(source) local variable = vm.getVariableNode(source) if not variable then - return + return false end vm.setNode(source, variable) + return true end ---@param source parser.object |