summaryrefslogtreecommitdiff
path: root/script-beta/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-18 16:40:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-18 16:40:56 +0800
commit332ba28abb7dfe6f45242c978376b3b88c720284 (patch)
treeb472ad654cd493819c46161f9fa469d19f33aed4 /script-beta/parser/guide.lua
parentf8ca20e2227c2d1bbb2b7875c411ad36aab9f83e (diff)
downloadlua-language-server-332ba28abb7dfe6f45242c978376b3b88c720284.zip
打开一些测试
Diffstat (limited to 'script-beta/parser/guide.lua')
-rw-r--r--script-beta/parser/guide.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 7a649738..b6ef2faa 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1417,7 +1417,7 @@ function m.checkSameSimpleAsTableField(status, ref, start, queue)
end
function m.checkSearchLevel(status)
- -- TODO
+ -- TODO 限制向前搜索的次数
do return false end
status.cache.back = status.cache.back or 0
if status.cache.back >= (status.interface.searchLevel or 0) then
@@ -1851,8 +1851,6 @@ function m.searchRefOfValue(status, obj)
end
function m.allocInfer(o)
- -- TODO
- assert(o.type)
if type(o.type) == 'table' then
local infers = {}
for i = 1, #o.type do