diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
commit | 46974b3b740c7f58ecd8094392ab7f4c5c254f44 (patch) | |
tree | 97f947d5b63b9fd257db66cc5a868bccaa3909ea /script/vm/generic.lua | |
parent | a31cb772fa4f1da3fd78e4d9f5a01729c22883f7 (diff) | |
download | lua-language-server-46974b3b740c7f58ecd8094392ab7f4c5c254f44.zip |
update
Diffstat (limited to 'script/vm/generic.lua')
-rw-r--r-- | script/vm/generic.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/generic.lua b/script/vm/generic.lua index 3aa61231..7b0eb120 100644 --- a/script/vm/generic.lua +++ b/script/vm/generic.lua @@ -127,9 +127,10 @@ end ---@param parent vm.node.generic-manager ---@param node vm.node return function (parent, node) + local compiler = require 'vm.compiler' local generic = setmetatable({ parent = parent, - node = node, + node = compiler.compileNode(node), }, mt) return generic end |