diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-27 20:00:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-27 20:00:57 +0800 |
commit | 0af81c0ae6a05cffe55acf4ee8fea0d4771273c3 (patch) | |
tree | 3d0d3aa0ad5b3ff3536887bc69b5c66b0643ce3b /script/core/hover/name.lua | |
parent | e3fbbd8ce94a9b92e6bb135b05d35d90c90386b5 (diff) | |
download | lua-language-server-0af81c0ae6a05cffe55acf4ee8fea0d4771273c3.zip |
update
Diffstat (limited to 'script/core/hover/name.lua')
-rw-r--r-- | script/core/hover/name.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/name.lua b/script/core/hover/name.lua index f56161f5..d2b9d30b 100644 --- a/script/core/hover/name.lua +++ b/script/core/hover/name.lua @@ -21,7 +21,7 @@ end local function asField(source, oop) local class if source.node.type ~= 'getglobal' then - class = infer.getClass(source) + class = infer.getClass(source.node) end local node = class or guide.getKeyName(source.node) or '?' local method = guide.getKeyName(source) |