diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 15:05:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 15:05:49 +0800 |
commit | 4c636f0c792fb7abcdf4d38430be23d8bfc40491 (patch) | |
tree | f9105a3e2b1cc3035f6c8ddab3682cd91d70bacf /test/type_inference/init.lua | |
parent | aa100883142d9512fc9e1de5832c72a3cda0bdfe (diff) | |
download | lua-language-server-4c636f0c792fb7abcdf4d38430be23d8bfc40491.zip |
update type-infer
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r-- | test/type_inference/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 135f6749..a3764328 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -930,3 +930,17 @@ TEST '👍' [[ ---@class 👍 local <?x?> ]] + +TEST 'boolean' [[ +---@type boolean +local x + +<?x?> = 1 +]] + +TEST 'Class' [[ +---@class Class +local x + +<?x?> = 1 +]] |