summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-07 16:35:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-07 16:35:34 +0800
commit3cdafcc068385ad25325dea8ddd33d1a8b380ba9 (patch)
treefedb59f9ca62947727e8c7303f3f33b5fed090c3 /test
parentfc05060d1716946ef2c8bbcd15b6bdae40dd42ba (diff)
downloadlua-language-server-3cdafcc068385ad25325dea8ddd33d1a8b380ba9.zip
some fix
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index a8011616..2ae79a46 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -3625,3 +3625,7 @@ TEST 'boolean' [[
---@type boolean|true|false
local <?b?>
]]
+
+TEST 'integer|false' [[
+local <?b?> = X == 1 and X == 1 and 1
+]]