diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-25 16:32:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-25 16:32:40 +0800 |
commit | 32dcf712ce2b08a124718c519e43dd327a15d748 (patch) | |
tree | 06acc3d8c6759516e4cccad881a66b6915e37f80 /script/vm/node/union.lua | |
parent | ee408986c37082c981cb2689d71e4d77d4079a23 (diff) | |
download | lua-language-server-32dcf712ce2b08a124718c519e43dd327a15d748.zip |
cleanup
Diffstat (limited to 'script/vm/node/union.lua')
-rw-r--r-- | script/vm/node/union.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/vm/node/union.lua b/script/vm/node/union.lua index 47b9c63a..b944b92d 100644 --- a/script/vm/node/union.lua +++ b/script/vm/node/union.lua @@ -1,4 +1,4 @@ -local literalMgr = require 'vm.literal-manager' +local localMgr = require 'vm.local-manager' ---@class vm.node.union local mt = {} @@ -26,11 +26,11 @@ function mt:merge(node) end ---@param source parser.object -function mt:subscribeLiteral(source) +function mt:subscribeLocal(source) for _, c in ipairs(self) do - literalMgr.subscribeLiteral(source, c) + localMgr.subscribeLocal(source, c) if c.type == 'cross' then - c:subscribeLiteral(source) + c:subscribeLocal(source) end end end |