summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-03 14:17:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-03 14:17:07 +0800
commit2e619182c2cd29800f673c2e6fa366e87e0c38a0 (patch)
tree3d00fdf7ee2440f6085d013e82585ad4d08eefe9 /server/src
parentcab0b6dbf953aae890a2e7e413b94643191f176a (diff)
downloadlua-language-server-2e619182c2cd29800f673c2e6fa366e87e0c38a0.zip
修正BUG
Diffstat (limited to 'server/src')
-rw-r--r--server/src/matcher/definition.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/matcher/definition.lua b/server/src/matcher/definition.lua
index 453dc291..11b45995 100644
--- a/server/src/matcher/definition.lua
+++ b/server/src/matcher/definition.lua
@@ -167,7 +167,8 @@ function mt:searchSimple(simple)
end
function mt:searchBinary(exp)
- return self:searchExp(exp[1]) or self:searchExp(exp[2])
+ self:searchExp(exp[1])
+ self:searchExp(exp[2])
end
function mt:searchUnary(exp)