simple type annotations (fix), test fix

This commit is contained in:
ProgramSnail 2024-02-23 15:51:10 +03:00
parent cbd923d0f1
commit 6a251945e6
2 changed files with 3 additions and 3 deletions

View file

@ -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(