diff options
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/hover/name.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/hover/name.lua b/script-beta/core/hover/name.lua index 8394a75b..230de253 100644 --- a/script-beta/core/hover/name.lua +++ b/script-beta/core/hover/name.lua @@ -20,6 +20,9 @@ local function asField(source, oop) local class = vm.getClass(source.node, 'deep') local node = class or guide.getName(source.node) or '?' local method = guide.getName(source) + if node:sub(-1) == '*' then + node = node:sub(1, -2) + end if oop then return ('%s:%s'):format(node, method) else |