summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
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
+]]