mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-05 22:28:43 +00:00
fixes
This commit is contained in:
parent
ec4a2fc64b
commit
9c0565f876
1 changed files with 1 additions and 6 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue