diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/example/guide.txt | 2 | ||||
-rw-r--r-- | test/hover/init.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/example/guide.txt b/test/example/guide.txt index cff05faf..1aef61ae 100644 --- a/test/example/guide.txt +++ b/test/example/guide.txt @@ -2718,7 +2718,7 @@ function m.viewInferType(infers) or src.type == 'doc.type.name' or src.type == 'doc.type.array' or src.type == 'doc.type.table' - or src.type == 'doc.type.enum' + or src.type == 'doc.type.string' or src.type == 'doc.resume' then local tp = infer.type or 'any' if not mark[tp] then diff --git a/test/hover/init.lua b/test/hover/init.lua index f6172aa1..9cb24d3d 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -272,9 +272,8 @@ TEST [[ local type w2l:get_default()[<?type?>] ]] -"local type: any" +"local type: unknown" --- TODO 可选参数(或多原型) TEST [[ <?load?>() ]] |