diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-25 19:56:25 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-25 19:56:25 +0800 |
commit | 8d88695d3897384cdee001f49b702a1a3586597b (patch) | |
tree | c42d0dee6f7762603c4d84bc65629835fdb6c8c8 /test-beta | |
parent | 7e6bb85af1ffccc01f7504cd427fc8123d3179d0 (diff) | |
download | lua-language-server-8d88695d3897384cdee001f49b702a1a3586597b.zip |
更新
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/hover/init.lua | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 182474e0..d1181771 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -847,7 +847,7 @@ TEST[[ local <?x?> = class() ]] [[ -local x: Class {} +local x: Class ]] TEST[[ @@ -855,7 +855,7 @@ TEST[[ <?x?> = class() ]] [[ -global x: Class {} +global x: Class ]] TEST[[ @@ -865,7 +865,7 @@ local t = { } ]] [[ -field x: Class {} +field x: Class ]] TEST[[ @@ -873,7 +873,7 @@ TEST[[ local <?x?> = class() ]] [[ -local x: Class {} +local x: Class ]] TEST[[ @@ -881,7 +881,7 @@ TEST[[ <?x?> = class() ]] [[ -global x: Class {} +global x: Class ]] TEST[[ @@ -891,7 +891,7 @@ local t = { } ]] [[ -field x: Class {} +field x: Class ]] TEST[[ @@ -899,7 +899,7 @@ TEST[[ local <?x?> = class() ]] [[ -local x: A|B|C {} +local x: A|B|C ]] TEST[[ @@ -910,10 +910,11 @@ local <?x?> = { ]] [[ local x: Class { - b: number = 1, + b: integer = 1, } ]] +do return end TEST [[ ---@class Class local mt = {} |