diff options
-rw-r--r-- | server/src/matcher/diagnostics.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua index f3aeb9c4..9f3ed7c3 100644 --- a/server/src/matcher/diagnostics.lua +++ b/server/src/matcher/diagnostics.lua @@ -36,6 +36,9 @@ local function searchUndefinedGlobal(results, callback) goto NEXT_VAR end end + if #field >= 3 then + goto NEXT_VAR + end for _, info in ipairs(field) do if info.type == 'set' then goto NEXT_VAR |