mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-09 08:08:48 +00:00
simple type annotations (fix), test fix
This commit is contained in:
parent
cbd923d0f1
commit
6a251945e6
2 changed files with 3 additions and 3 deletions
|
|
@ -236,7 +236,7 @@ module.exports = grammar({
|
|||
|
||||
simple_type: $ => seq(
|
||||
field('name', $._type_identifier),
|
||||
optional(seq('[', repeat1($._scoped_type), ']'))
|
||||
optional(seq('[', repeat1($._annotated_type), ']'))
|
||||
),
|
||||
|
||||
_type: $ => choice(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue