We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df909f3 commit 30046caCopy full SHA for 30046ca
grammar.js
@@ -69,7 +69,8 @@ module.exports = grammar({
69
],
70
[$._jsx_attribute_value, $.pipe_expression],
71
[$.function_type_parameters, $.function_type],
72
- [$._reserved_identifier, $.module_unpack]
+ [$._reserved_identifier, $.module_unpack],
73
+ [$.lazy_pattern, $.or_pattern]
74
75
76
conflicts: $ => [
@@ -925,13 +926,7 @@ module.exports = grammar({
925
926
927
lazy_pattern: $ => seq(
928
'lazy',
- choice(
929
- $.value_identifier,
930
- $._literal_pattern,
931
- $._destructuring_pattern,
932
- $.polyvar_type_pattern,
933
- $.parenthesized_pattern,
934
- )
+ $._pattern
935
),
936
937
_jsx_element: $ => choice($.jsx_element, $.jsx_self_closing_element),
0 commit comments