diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-08 17:26:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-08 17:26:18 +0800 |
commit | 7c29a6012bf5fe2cc1ff79598f8be6f80528e767 (patch) | |
tree | 6afee29f52c8862bfe7d6e780022bfb6d4ecabd5 /test/type_inference | |
parent | 4c71c56f925246618cce854ab9773311a7812055 (diff) | |
download | lua-language-server-7c29a6012bf5fe2cc1ff79598f8be6f80528e767.zip |
cleanup
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 9beaf7f5..6c8afcea 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3651,3 +3651,18 @@ 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 +--]] |