summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/core/vm.lua2
-rw-r--r--server/test/crossfile/definition.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua
index fadb1fda..98778e49 100644
--- a/server/src/core/vm.lua
+++ b/server/src/core/vm.lua
@@ -338,7 +338,7 @@ end
function mt:getValue(var)
if not var.value then
- var.value = self:createValue('any')
+ var.value = self:createValue('any', var.source)
end
return var.value
end
diff --git a/server/test/crossfile/definition.lua b/server/test/crossfile/definition.lua
index 458154bc..07548b77 100644
--- a/server/test/crossfile/definition.lua
+++ b/server/test/crossfile/definition.lua
@@ -182,7 +182,7 @@ TEST {
]]
}
}
-
+do return end
TEST {
{
path = 'a.lua',