Remove redundant seq and choice
@@ -126,9 +126,6 @@ module.exports = grammar({
parameter: $ => choice(
$._simple_pattern,
- parenthesize($.abstract_type),
- seq(
- choice(
$.label,
seq(
$.label,
@@ -151,9 +148,8 @@ module.exports = grammar({
optional(seq(':', $._type_expression)),
seq('=', $._seq_expression),
')'
- )
- )
- )
+ ),
+ parenthesize($.abstract_type)
),
external: $ => seq(
