Skip to content

Commit fb999c7

Browse files
authored
Merge pull request #448 from tree-sitter/generation
chore: generate and sync latest changes
2 parents 25acfc9 + d8236d7 commit fb999c7

File tree

4 files changed

+539123
-511215
lines changed

4 files changed

+539123
-511215
lines changed

grammar.js

+2-10
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ module.exports = grammar({
989989
choice(
990990
seq(field("type_parameters", $.type_parameters), $._arrow_then_type),
991991
seq(field("parameter_types", $.parameter_types), $._arrow_then_type),
992-
)
992+
),
993993
),
994994

995995
_arrow_then_type: $ =>
@@ -1163,15 +1163,7 @@ module.exports = grammar({
11631163
lambda_expression: $ =>
11641164
prec.right(
11651165
seq(
1166-
optional(
1167-
seq(
1168-
field(
1169-
"type_parameters",
1170-
$.type_parameters,
1171-
),
1172-
"=>",
1173-
),
1174-
),
1166+
optional(seq(field("type_parameters", $.type_parameters), "=>")),
11751167
field(
11761168
"parameters",
11771169
choice(

src/grammar.json

+60-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)