diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 14:45:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 14:45:49 +0800 |
commit | 5a9dd92de2e1caed7cc66c6448a0ee951b47bd4e (patch) | |
tree | 93db62825616f73e06ad8540c39493b330e612be /test-beta/hover | |
parent | 84c8c1500306eae1deccbad02e23c8e8186d452b (diff) | |
download | lua-language-server-5a9dd92de2e1caed7cc66c6448a0ee951b47bd4e.zip |
还是得把库名与类型名区分开来
Diffstat (limited to 'test-beta/hover')
-rw-r--r-- | test-beta/hover/init.lua | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index b12a9206..6b316919 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -498,7 +498,7 @@ TEST [[ print(<?utf8?>) ]] [[ -global utf8: utf8 { +global utf8: utf8* { char: function, charpattern: string, codepoint: function, @@ -512,7 +512,7 @@ TEST [[ print(io.<?stderr?>) ]] [[ -global io.stderr: file { +global io.stderr: file* { close: function, flush: function, lines: function, @@ -527,7 +527,7 @@ TEST [[ print(<?io?>) ]] [[ -global io: io { +global io: io* { close: function, flush: function, input: function, @@ -536,9 +536,9 @@ global io: io { output: function, popen: function, read: function, - stderr: file, - stdin: file, - stdout: file, + stderr: file*, + stdin: file*, + stdout: file*, tmpfile: function, type: function, write: function, @@ -549,7 +549,7 @@ TEST [[ local <?sssss?> = require 'utf8' ]] [[ -local sssss: utf8 { +local sssss: utf8* { char: function, charpattern: string, codepoint: function, @@ -775,7 +775,7 @@ local <?t?> = { ]] [[ local t: { - f: file, + f: file*, } ]] @@ -784,7 +784,7 @@ io.<?popen?>() ]] [[ function io.popen(prog: string, mode: "r"|"w"?) - -> file? + -> file*? 2. errmsg: string? ]] @@ -793,21 +793,25 @@ TEST [[ ]] [[ global _G: _G { - _G: table, + _G: _G, _VERSION: string = "Lua 5.4", arg: table, assert: function, + bit32: table, collectgarbage: function, coroutine: table, debug: table, dofile: function, error: function, + getfenv: function, getmetatable: function, io: table, ipairs: function, load: function, loadfile: function, + loadstring: function, math: table, + module: function, next: function, os: table, package: table, @@ -820,12 +824,14 @@ global _G: _G { rawset: function, require: function, select: function, + setfenv: function, setmetatable: function, string: table, table: table, tonumber: function, tostring: function, type: function, + unpack: function, utf8: table, warn: function, xpcall: function, |