summaryrefslogtreecommitdiff
path: root/server/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-21 17:31:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-21 17:31:51 +0800
commitfdbc2738d8a79aaf76ba2177b9144295886e39b8 (patch)
treeaea8dd596a348ce168e52a5247d7d48965bf58e1 /server/test/definition
parent1376bba0f9cfc3e8f06130c3bb4f86589b0dc32a (diff)
downloadlua-language-server-fdbc2738d8a79aaf76ba2177b9144295886e39b8.zip
修正多返回值遇到函数调用的bug
Diffstat (limited to 'server/test/definition')
-rw-r--r--server/test/definition/bug.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/test/definition/bug.lua b/server/test/definition/bug.lua
index 05420b7c..b5e8dbe9 100644
--- a/server/test/definition/bug.lua
+++ b/server/test/definition/bug.lua
@@ -77,3 +77,9 @@ local t = {
<?x?>,
}
]]
+
+TEST [[
+local a
+local <!b!>
+return f(), <?b?>
+]]