Parse functions with labels
@@ -147,7 +147,8 @@ module.exports = grammar({
// seq($._identifier, optional(commaSep1($._fpat))
$._literal,
$.wildcard,
- repeat1($._identifier)
+ repeat1($._identifier),
+ seq(choice($._identifier, $.simple_type), '{', optional($.labels), '}')
// $.parenthesized_pattern,
)),
