Skip to content

Commit

Permalink
fix: add optional where clauses in associated types
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Apr 25, 2024
1 parent 1795e95 commit 1fc178f
Show file tree
Hide file tree
Showing 7 changed files with 104,288 additions and 107,935 deletions.
3 changes: 3 additions & 0 deletions bindings/rust/build.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ module.exports = grammar({
field('name', $._type_identifier),
field('type_parameters', optional($.type_parameters)),
field('bounds', optional($.trait_bounds)),
optional($.where_clause),
';',
),

Expand Down
21 changes: 6 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1fc178f

Please sign in to comment.