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

Fix: don't emit object keys in uppercase as namespace #798

Merged
merged 4 commits into from
Aug 9, 2023

Conversation

aspeddro
Copy link
Contributor

@aspeddro aspeddro commented Aug 5, 2023

Close #797

match label.txt with
| Longident.Lident s
when String.length s > 0
&& not (Char.equal s.[0] (Char.uppercase_ascii s.[0])) ->
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we make this a util (or do we already have one for it)? I can see this being useful elsewhere too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 7a24abd

@zth zth merged commit 1ff514b into rescript-lang:master Aug 9, 2023
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.

Semantic Tokens: Object keys in uppercase emitted as namespace
2 participants