summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 14:35:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 14:35:56 +0800
commit67a341f3fa26e5a3140cde3420ef2269a84d478f (patch)
tree8c747faa574055b7dfe2a22ef3a8176100b90980 /test/type_inference
parent0b898555f495b80f278fec01d2f3e6ec83b4952c (diff)
downloadlua-language-server-67a341f3fa26e5a3140cde3420ef2269a84d478f.zip
cleanup
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 5ac5bece..591d9f7c 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1390,3 +1390,9 @@ TEST 'integer' [[
local t
t.<?x?>
]]
+
+TEST 'boolean' [[
+local <?var?> = true
+var = 1
+var = 1.0
+]]