summaryrefslogtreecommitdiff
path: root/server/src/core/references.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/references.lua')
-rw-r--r--server/src/core/references.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/core/references.lua b/server/src/core/references.lua
index 7262ca91..9486dafe 100644
--- a/server/src/core/references.lua
+++ b/server/src/core/references.lua
@@ -4,7 +4,7 @@ local function parseResult(vm, result, declarat)
local positions = {}
local tp = result.type
if tp == 'local' then
- vm:eachInfo(result, function (info)
+ result.value:eachInfo(function (info)
if info.source.uri == '' or not info.source.uri then
return
end
@@ -13,7 +13,7 @@ local function parseResult(vm, result, declarat)
end
end)
elseif tp == 'field' then
- vm:eachInfo(result, function (info)
+ result.value:eachInfo(function (info)
if info.source.uri == '' or not info.source.uri then
return
end