diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-31 19:43:48 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-31 19:43:48 +0800 |
commit | d004c1c6dcc5716d1e2f049782b660bb3d7bd74d (patch) | |
tree | 5b36bafba9e0a5c6452bc1e160990a8ca9f8d4d0 /server/src/core/diagnostics.lua | |
parent | b63286f959f6a07c8901b0e3f0e03e81a935ac4d (diff) | |
download | lua-language-server-d004c1c6dcc5716d1e2f049782b660bb3d7bd74d.zip |
#fixed 104
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r-- | server/src/core/diagnostics.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index c99f6e87..3b11b818 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -354,6 +354,7 @@ function mt:searchAmbiguity1(callback) and first.type ~= 'unary' and not second.op and literalMap[second.type] + and not first.brackets then callback(source.start, source.finish, first.start, first.finish) end @@ -364,6 +365,7 @@ function mt:searchAmbiguity1(callback) and second.type ~= 'unary' and not first.op and literalMap[second[1].type] + and not second.brackets then callback(source.start, source.finish, second.start, second.finish) end |