summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-16 03:50:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-16 03:50:50 +0800
commit7155b72aea44f631141ab84748e6052cb9da0838 (patch)
tree8a4c93fe76e47f6a1a7f9785a1ca5fb33edb4994 /test/type_inference
parent664a5c78ade155d99543c94d3f63b98b4d0df82d (diff)
downloadlua-language-server-7155b72aea44f631141ab84748e6052cb9da0838.zip
fix
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 b8ca4df9..85cbf683 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -4074,3 +4074,9 @@ else
print(<?t?>)
end
]]
+
+TEST 'function' [[
+local function x()
+ print(<?x?>)
+end
+]]