summaryrefslogtreecommitdiff
path: root/server/src/matcher
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-21 14:55:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-21 14:55:01 +0800
commit481e8619b8da70296b02af714e0bf76b561b68a6 (patch)
tree3716661f55acd752d99a1be78f751d56b8b82f07 /server/src/matcher
parent99cf6980cc70b6ffeb72f87f392f2ebe2bb31c33 (diff)
downloadlua-language-server-481e8619b8da70296b02af714e0bf76b561b68a6.zip
过滤string的引用
Diffstat (limited to 'server/src/matcher')
-rw-r--r--server/src/matcher/references.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/matcher/references.lua b/server/src/matcher/references.lua
index 722156d3..71b7eb77 100644
--- a/server/src/matcher/references.lua
+++ b/server/src/matcher/references.lua
@@ -21,6 +21,7 @@ local function parseResult(result, declarat)
positions[#positions+1] = {info.source.start, info.source.finish}
end
end
+ elseif tp == 'string' then
else
error('Unknow result type:' .. result.type)
end