summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-09-07 19:48:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-09-07 19:48:05 +0800
commitbae4d2e8e68127b017dc09f3019ab9ba886430dc (patch)
treea158782a70311b483ad4df866037ef155f7e105c /script/vm
parent3daee7053529c03834063ad4f5c7e0da971d5dbf (diff)
downloadlua-language-server-bae4d2e8e68127b017dc09f3019ab9ba886430dc.zip
fix #1506
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/infer.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua
index 263b2500..47b458dc 100644
--- a/script/vm/infer.lua
+++ b/script/vm/infer.lua
@@ -301,16 +301,6 @@ function mt:_eraseAlias(uri)
end
end
end
- if set.type == 'doc.class' then
- if set.extends then
- for _, ext in ipairs(set.extends) do
- if ext.type == 'doc.extends.name' then
- local view = ext[1]
- drop[view] = true
- end
- end
- end
- end
end
LOCK[n.name] = nil
::CONTINUE::