summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/references.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/core/references.lua b/server/src/core/references.lua
index bc6cc39e..26d65bf1 100644
--- a/server/src/core/references.lua
+++ b/server/src/core/references.lua
@@ -11,6 +11,7 @@ local function parseResult(vm, source, declarat, callback)
end
if source:bindLocal() then
local loc = source:bindLocal()
+ callback(loc:getSource())
loc:eachInfo(function (info, src)
if (declarat and info.type == 'set') or info.type == 'get' then
callback(src)