summaryrefslogtreecommitdiff
path: root/test/definition/bug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-26 21:48:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-26 21:48:41 +0800
commit202bc99994db7cf79d04dd56afd1e03743e9b908 (patch)
tree9303c87de9f9f4ce10b59c1f9161da15b0bff870 /test/definition/bug.lua
parentf5991c0f4b90c6392d139decfecd00b25d1a2690 (diff)
downloadlua-language-server-202bc99994db7cf79d04dd56afd1e03743e9b908.zip
fix #923
Diffstat (limited to 'test/definition/bug.lua')
-rw-r--r--test/definition/bug.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua
index 4a755170..77797f40 100644
--- a/test/definition/bug.lua
+++ b/test/definition/bug.lua
@@ -178,42 +178,42 @@ local A, B
function A:get1()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get2()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get3()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get4()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get5()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get6()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get7()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function A:get8()
local <!a!> = B:get()
- return <!a!>
+ return a
end
function B:get()
@@ -226,7 +226,7 @@ function B:get()
<!b!> = A:get6()
<!b!> = A:get7()
<!b!> = A:get8()
- return <!b!>
+ return b
end
local <!b!> = B:get()