summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/label.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/label.lua')
-rw-r--r--script-beta/core/hover/label.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/script-beta/core/hover/label.lua b/script-beta/core/hover/label.lua
index 1933adfe..d785bc27 100644
--- a/script-beta/core/hover/label.lua
+++ b/script-beta/core/hover/label.lua
@@ -83,10 +83,6 @@ local function asGlobal(source)
return asValue(source, 'global')
end
-local function asLibrary(source)
- return asValue(source, 'global')
-end
-
local function isGlobalField(source)
if source.type == 'field'
or source.type == 'method' then
@@ -205,8 +201,6 @@ return function (source, oop)
return asString(source)
elseif source.type == 'number' then
return asNumber(source)
- elseif source.type == 'library' then
- return asLibrary(source)
elseif source.type == 'doc.type.function' then
return asDocFunction(source)
elseif source.type == 'doc.type.name' then