Add parenthesized expression
@@ -180,6 +180,7 @@ module.exports = grammar({
),
tuple_pattern: $ => seq(
+ parenthesized_expression: $ => prec(1, seq(
'(',
commaSep1(choice($._pattern, $._function_pattern)),
')'
@@ -188,6 +189,7 @@ module.exports = grammar({
parenthesized_pattern: $ => prec(1, seq(
'(',
choice($._function_pattern, $._pattern),
+ $._expression,
')'
)),
