diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 15:38:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 15:38:18 +0800 |
commit | f5464ddc9a8e043977f27e70d9f1dfc2be56b02e (patch) | |
tree | b2c3d0e061753e69105997a81c6e8567998054cf /test/type_inference | |
parent | 0b87804cba3f24318362993ca2e32e0f95ce990d (diff) | |
download | lua-language-server-f5464ddc9a8e043977f27e70d9f1dfc2be56b02e.zip |
`boolean` kick `true` and `false`
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index da109bd7..a8011616 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3620,3 +3620,8 @@ end local <?x?> = bool and '' or 0 ]] + +TEST 'boolean' [[ +---@type boolean|true|false +local <?b?> +]] |