summaryrefslogtreecommitdiff
path: root/test-beta/references
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-15 19:23:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-15 19:23:05 +0800
commit4fb4507cc87a854bbfcb3a234f4dea8f7df2f545 (patch)
tree5df7c8f2ed439c85a057a376e1606e08c63f9129 /test-beta/references
parent910fc1dae705ce2475c165ec28e20edd9cb89d61 (diff)
downloadlua-language-server-4fb4507cc87a854bbfcb3a234f4dea8f7df2f545.zip
只有从 main 里面 return 出去时才继续搜索
Diffstat (limited to 'test-beta/references')
-rw-r--r--test-beta/references/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 11a5928b..3573da55 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -150,7 +150,7 @@ local <?x?>
local function f()
return <!x!>
end
-local <!y!> = f()
+local y = f()
]]
TEST [[