question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don't generate reserved keywords for polymorphic variants

See original GitHub issue

Polymorphic variants can be generated with reserved keywords, for instance `type or `class

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tmattiocommented, Sep 16, 2021

As you’re triaging the issues, I’ll close this for now and re-open if I see the problem occurring again.

0reactions
cannorincommented, Jul 25, 2021

I think I hopefully did fix this. Can you provide an example input to trigger this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found