diff options
Diffstat (limited to 'script/vm/local-manager.lua')
-rw-r--r-- | script/vm/local-manager.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/script/vm/local-manager.lua b/script/vm/local-manager.lua index 2baabed4..51bafb24 100644 --- a/script/vm/local-manager.lua +++ b/script/vm/local-manager.lua @@ -23,23 +23,6 @@ function m.declareLocal(source) locals[#locals+1] = source end ----@param source parser.object ----@param node vm.node -function m.subscribeLocal(source, node) - -- TODO: need delete - if not node then - return - end - if node.type == 'vm.node' then - node:subscribeLocal(source) - return - end - if not m.allLocals[node] then - return - end - m.localSubs[node][source] = true -end - ---@param uri uri function m.dropUri(uri) local locals = m.locals[uri] |