summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-29 15:07:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-29 15:07:19 +0800
commitaadc150fc7d585fdb31d121e708acf1934dcf0e5 (patch)
tree6f82252f9165960015af6ab9ff20e827c6e27f1e /test/diagnostics/init.lua
parente4cc5406ee784e09d269abcc55488328a6c7e776 (diff)
downloadlua-language-server-aadc150fc7d585fdb31d121e708acf1934dcf0e5.zip
update parser
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 558ffc26..4bf7e81d 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1506,3 +1506,11 @@ TEST [[
TEST [[
---@type fun(xxx, yyy, ...): boolean
]]
+
+TEST [[
+local <!x!>
+
+return {
+ x = 1,
+}
+]]