summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-22 01:22:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-22 01:22:46 +0800
commit4bb1dadaf5ce86b3fda8e175e217a0016c361e5e (patch)
tree64179f697156e59620c3016db8ad01b46fd563cd /test/type_inference/init.lua
parent5b148c7f76e9bbdbbee28e0dac51c2b14f7e7ebd (diff)
downloadlua-language-server-4bb1dadaf5ce86b3fda8e175e217a0016c361e5e.zip
fix
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 2352201a..36ae8711 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1759,3 +1759,8 @@ local function f(<?x?>)
end
]]
+
+TEST 'integer' [[
+local x = 1
+x = <?x?>
+]]