diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-19 10:50:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-19 10:50:55 +0800 |
commit | ddadd638917035ee4169da8942b6e4d4eb59cb66 (patch) | |
tree | cf0aba243e1e81435698722ce58613a5e7616e96 /script/vm | |
parent | f709ab24a21d444af78b2b91b20b191acd35d877 (diff) | |
download | lua-language-server-ddadd638917035ee4169da8942b6e4d4eb59cb66.zip |
fix #1345
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/compiler.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 04a4f0c5..a71cdf70 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -977,6 +977,7 @@ local function compileLocal(source) vm.setNode(source, vm.compileNode(source.parent.parent.parent.node)) end end + vm.getNode(source):remove 'function' end local hasMarkValue if not hasMarkDoc and source.value then |