diff options
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r-- | script/vm/ref.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua index 9705094c..4765dc8d 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -24,7 +24,6 @@ end simpleMap = util.switch() : case 'local' : call(function (source, pushResult) - pushResult(source) if source.ref then for _, ref in ipairs(source.ref) do if ref.type == 'setlocal' @@ -33,12 +32,6 @@ simpleMap = util.switch() end end end - - if source.dummy then - for _, res in ipairs(vm.getDefs(source.method.node)) do - pushResult(res) - end - end end) : case 'getlocal' : case 'setlocal' @@ -213,8 +206,6 @@ local function searchByNode(source, pushResult) for _, get in ipairs(n:getGets()) do pushResult(get) end - else - pushResult(n) end end end |