summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-05-25 15:53:55 +0800
committerGitHub <noreply@github.com>2023-05-25 15:53:55 +0800
commite0c2f03eaa3e2aa60490c352b40723fceaa4fcc1 (patch)
tree93cea0dadb2355114f2ecb15cd4f11d5ef061922 /test/type_inference/init.lua
parent622b1745973b409e16a9a0db5ed25a0548337e59 (diff)
parentadc1c1ba2f1039d36655f9042f0e16053115e88a (diff)
downloadlua-language-server-e0c2f03eaa3e2aa60490c352b40723fceaa4fcc1.zip
Merge branch 'master' into ffi-plugin-lazyload
Diffstat (limited to 'test/type_inference/init.lua')
-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 6a8ba588..55b4f7af 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -4292,3 +4292,9 @@ local m = setmetatable({},{ __index = { a = 1 } })
m.<?a?>
]]
+
+TEST 'integer' [[
+local x = 1
+repeat
+until <?x?>
+]]