diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-08 17:38:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-08 17:38:44 +0800 |
commit | db4ae9c48b7d2f97823469e8a32aff170ecba12f (patch) | |
tree | d167f6430773ebd3fd93b31611b1ad98bec60aaa /test | |
parent | 103aee69bf717936432e2739695305ce2058786e (diff) | |
download | lua-language-server-db4ae9c48b7d2f97823469e8a32aff170ecba12f.zip |
resolve #993 supports multi-types
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 6c8afcea..3e871499 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3652,17 +3652,17 @@ end local <?n?> = test(1) ]] ---TEST 'boolean' [[ ------@type boolean, number ---local <?x?>, y ---]] --- ---TEST 'number' [[ ------@type boolean, number ---local x, <?y?> ---]] --- ---TEST 'unknown' [[ ------@type _, number ---local <?x?>, y ---]] +TEST 'boolean' [[ +---@type boolean, number +local <?x?>, y +]] + +TEST 'number' [[ +---@type boolean, number +local x, <?y?> +]] + +TEST 'unknown' [[ +---@type _, number +local <?x?>, y +]] |