Skip to content

SYNG1002 - Unbalanced parentheses

Domain: sexp
Severity: USER

Found a closing parenthesis without a matching opening parenthesis.

Every ) must have a corresponding ( earlier in the query. This error indicates an extra closing parenthesis that doesn't match any opening one.

Example

clojure
(call a (x)))

The query has 2 opening parens but 3 closing parens.

Solution

Remove the extra closing parenthesis or add a missing opening parenthesis:

clojure
(call a (x))

SYNG1003

Copyright © 2022-present Semantic Works, Inc.