diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 14:53:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 14:53:56 +0800 |
commit | 88ff3f4ae07311d4aed9c15df723c50da948f24f (patch) | |
tree | e5e16423a97496676a4b56fc157f21e9885cc306 /script-beta/parser | |
parent | 049eaa1446d8b53cef14ec3a72f315f162ead2bc (diff) | |
download | lua-language-server-88ff3f4ae07311d4aed9c15df723c50da948f24f.zip |
暂存
Diffstat (limited to 'script-beta/parser')
-rw-r--r-- | script-beta/parser/guide.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 0b1f1a85..31e2b9d8 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1766,14 +1766,6 @@ function m.searchSameFields(status, simple, mode) if first.tag == '_ENV' then -- 检查全局变量的分支情况,需要业务层传入 interface.global m.checkSameSimpleInGlobal(status, simple[1], 1, queue) - if first.ref then - for _, ref in ipairs(first.ref) do - queue[#queue+1] = { - obj = ref, - start = 1, - } - end - end else simple.global = nil tableInsert(simple, 1, 'l|_ENV') |