Don't generate reserved keywords for polymorphic variants
See original GitHub issuePolymorphic variants can be generated with reserved keywords, for instance `type
or `class
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Polymorphic Variant | ReScript Language Manual
Polymorphic variants (or poly variant) are a cousin of variant. With these differences: They start with a # and the constructor name doesn't...
Read more >Labels and Polymorphic Variants
(Notice that both to and end are reserved words in OCaml, so they cannot be used as labels. So you cannot have ~from/~to...
Read more >keywords and polymorphic variants · Issue #2348 · ocaml ...
It is better to reserve keywords in all contexts. All reactions.
Read more >Programming with Polymorphic Variants
The first to come to mind is generating different integer values for all tags in a program, and then compile everything just as...
Read more >BuckleScript 8.2 released - ReasonML Forums
About string literals and polymorphic types: is it possible now to use reserved keywords as polymorphic variants? Simple example: ariaCurrent in ReasonReact ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As you’re triaging the issues, I’ll close this for now and re-open if I see the problem occurring again.
I think I hopefully did fix this. Can you provide an example input to trigger this?