summaryrefslogtreecommitdiff
path: root/script/core/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-24 18:45:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-24 18:45:26 +0800
commit49226612d1b557401a486df3e65fc138bec62d63 (patch)
tree7b09303770bd28c1b3c4229608fc41f8ec1e135d /script/core/diagnostics
parentc97d57ef22e494fd06abb9275209511c63e5f5a2 (diff)
downloadlua-language-server-49226612d1b557401a486df3e65fc138bec62d63.zip
set tracy
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r--script/core/diagnostics/undefined-field.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/core/diagnostics/undefined-field.lua b/script/core/diagnostics/undefined-field.lua
index bfb12e34..cc873ab2 100644
--- a/script/core/diagnostics/undefined-field.lua
+++ b/script/core/diagnostics/undefined-field.lua
@@ -12,7 +12,9 @@ return function (uri, callback)
end
local function getAllDocClassFromInfer(src)
+ tracy.ZoneBeginN('undefined-field getInfers')
local infers = vm.getInfers(src, 0)
+ tracy.ZoneEnd()
if not infers then
return nil