summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/name.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/name.lua')
-rw-r--r--script-beta/core/hover/name.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/name.lua b/script-beta/core/hover/name.lua
index 0d5f65ad..b96a8169 100644
--- a/script-beta/core/hover/name.lua
+++ b/script-beta/core/hover/name.lua
@@ -42,7 +42,7 @@ local function buildName(source)
return asMethod(source) or ''
end
if source.type == 'setfield'
- or source.tyoe == 'getfield' then
+ or source.type == 'getfield' then
return asField(source) or ''
end
if source.type == 'tablefield' then