This commit is contained in:
ProgramSnail 2023-08-14 10:26:16 +03:00
parent ec4a2fc64b
commit 9c0565f876

View file

@ -222,12 +222,7 @@ module.exports = grammar({
repeat1(seq('&', $._annotated_type)),
),
function_type: $ => seq(
'((',
$._annotated_type,
repeat1($._annotated_type),
'))',
),
function_type: $ => seq('((', repeat1($._annotated_type), '))'),
// add annotations to in all types ??
_annotated_type: $ => seq(optional($.annotation_identifier), $._scoped_type),