summaryrefslogtreecommitdiff
path: root/test-beta/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-13 18:49:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-13 18:49:03 +0800
commit1302aa460db48fca165ed4b2603e7ba085cf77ad (patch)
treef0a9dbfee06fd9eec79a9b453889e963c28b0f31 /test-beta/crossfile
parente2247e00da2e61700e9a981ad1d5bfe70d0cbfa0 (diff)
downloadlua-language-server-1302aa460db48fca165ed4b2603e7ba085cf77ad.zip
支持 return {}
Diffstat (limited to 'test-beta/crossfile')
-rw-r--r--test-beta/crossfile/references.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-beta/crossfile/references.lua b/test-beta/crossfile/references.lua
index 07166c3d..4fae9cb7 100644
--- a/test-beta/crossfile/references.lua
+++ b/test-beta/crossfile/references.lua
@@ -273,7 +273,7 @@ TEST {
end
return {
- f = <!f!>,
+ <!f!> = <!f!>,
}
]]
},
@@ -281,7 +281,7 @@ TEST {
path = 'b.lua',
content = [[
local t = require 'a'
- local <!f!> = t.f
+ local <!f!> = t.<!f!>
<!f!>()