summaryrefslogtreecommitdiff
path: root/script/vm/global.lua
diff options
context:
space:
mode:
authorSewbacca <sebastian.kalus@kolabnow.com>2023-07-17 15:48:21 +0200
committerSewbacca <sebastian.kalus@kolabnow.com>2023-07-17 15:48:21 +0200
commit76315ef4d25c1e81c3e2878236d2c09da681aa95 (patch)
tree0c5a62bb8835563c1bd85ed16b26fe8dd1cbe667 /script/vm/global.lua
parent0c31e3027772f10f7a0b4d2e3892449018e195d8 (diff)
downloadlua-language-server-76315ef4d25c1e81c3e2878236d2c09da681aa95.zip
Resolve formatting
Resolve member naming
Diffstat (limited to 'script/vm/global.lua')
-rw-r--r--script/vm/global.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/vm/global.lua b/script/vm/global.lua
index 687d53c8..6b61a82a 100644
--- a/script/vm/global.lua
+++ b/script/vm/global.lua
@@ -540,10 +540,10 @@ end
---@return boolean
function vm.isUndefinedGlobal(src)
local node = vm.compileNode(src)
- if node._undefined_global == nil then
- node._undefined_global = checkIsUndefinedGlobal(src)
+ if node.undefinedGlobal == nil then
+ node.undefinedGlobal = checkIsUndefinedGlobal(src)
end
- return node._undefined_global
+ return node.undefinedGlobal
end
---@param source parser.object