Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support lazy #151

Merged
merged 2 commits into from
Nov 9, 2022
Merged

support lazy #151

merged 2 commits into from
Nov 9, 2022

Conversation

aspeddro
Copy link
Collaborator

@aspeddro aspeddro commented Nov 8, 2022

Comment on lines -459 to -467
_binding_pattern: $ => choice(
$.value_identifier,
$.tuple_pattern,
$.record_pattern,
$.array_pattern,
$.list_pattern,
$.module_unpack_pattern,
$.unit
),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule was introduced in #111 to accept list as a valid variable, but it wasn't really necessary, going back to $._pattern

Comment on lines -933 to -934
module_unpack_pattern: $ => seq(
'module', '(', $.module_identifier, ')',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

module_unpack_pattern is not needed. module_pack is already listed in $._pattern rule

@nkrkv nkrkv merged commit b422b74 into rescript-lang:main Nov 9, 2022
@nkrkv
Copy link
Collaborator

nkrkv commented Nov 9, 2022

Thank you!

@aspeddro aspeddro deleted the support-lazy branch November 10, 2022 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support lazy
2 participants