diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-03 14:17:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-03 14:17:07 +0800 |
commit | 2e619182c2cd29800f673c2e6fa366e87e0c38a0 (patch) | |
tree | 3d00fdf7ee2440f6085d013e82585ad4d08eefe9 /server/src | |
parent | cab0b6dbf953aae890a2e7e413b94643191f176a (diff) | |
download | lua-language-server-2e619182c2cd29800f673c2e6fa366e87e0c38a0.zip |
修正BUG
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/matcher/definition.lua | 3 |
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) |