From d004c1c6dcc5716d1e2f049782b660bb3d7bd74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 31 Oct 2019 19:43:48 +0800 Subject: #fixed 104 --- server/src/core/diagnostics.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src/core/diagnostics.lua') 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 -- cgit v1.2.3