Skip to content

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
Member

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