diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 15:05:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:10:01 +0800 |
commit | 681a815fb2492a5cdc443ef150f5c5cdccedcf2f (patch) | |
tree | f2c32ebbd962ba43dc0632743b3f15f1850d272c /test/type_inference | |
parent | 9fbcebbad7861dc842937d88b86d3f6e7039f9d7 (diff) | |
download | lua-language-server-681a815fb2492a5cdc443ef150f5c5cdccedcf2f.zip |
update type-infer
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index ac300fcb..a3764328 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -925,3 +925,22 @@ local emit = {} emit:on("died", function (<?i?>) end) ]] + +TEST '👍' [[ +---@class 👍 +local <?x?> +]] + +TEST 'boolean' [[ +---@type boolean +local x + +<?x?> = 1 +]] + +TEST 'Class' [[ +---@class Class +local x + +<?x?> = 1 +]] |