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 empty record {} type declaration #162

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Support empty record {} type declaration #162

merged 1 commit into from
Nov 15, 2022

Conversation

nkrkv
Copy link
Collaborator

@nkrkv nkrkv commented Nov 14, 2022

Addresses #141

Empty record literals are not treated as records at all, but are (still) interpreted as block’s. Although it is incorrect semantically, I think it is OK for the purposes of tree-sitter-rescript.

@aspeddro, what do you think?

@aspeddro
Copy link
Collaborator

aspeddro commented Nov 14, 2022

Looks great 🎉

@nkrkv nkrkv merged commit 8c83acc into main Nov 15, 2022
@nkrkv nkrkv deleted the feat-empty-records branch November 15, 2022 11:58
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.

2 participants