summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-05-23 14:08:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-05-23 14:08:38 +0800
commit7aac1748434eda3726d1ed001edd1327c3973e0b (patch)
tree8e33cfa5fb954a168fcb04745aa3bad677d85981 /test/type_inference
parentfc63802fca2c98643bcfc63bd251a7394536c1de (diff)
downloadlua-language-server-7aac1748434eda3726d1ed001edd1327c3973e0b.zip
trace filter of `repeat`
fix #2113
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 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?>
+]]