summaryrefslogtreecommitdiff
path: root/server-beta/test/definition/call.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-23 16:43:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-23 16:43:19 +0800
commit68541432820dfff4554375c4c424a537943a938d (patch)
treedbd34527656fa6133f80baa6088f0d67b55b6e27 /server-beta/test/definition/call.lua
parent373cc0d6b746fef04ca353d05defc7f4d6324faa (diff)
downloadlua-language-server-68541432820dfff4554375c4c424a537943a938d.zip
整理代码
Diffstat (limited to 'server-beta/test/definition/call.lua')
-rw-r--r--server-beta/test/definition/call.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/server-beta/test/definition/call.lua b/server-beta/test/definition/call.lua
new file mode 100644
index 00000000..42502f40
--- /dev/null
+++ b/server-beta/test/definition/call.lua
@@ -0,0 +1,8 @@
+TEST [[
+function f()
+ local <!x!>
+ return <!x!>
+end
+local <!y!> = f()
+print(<?y?>)
+]]