Skip to content

Conversation

cristianoc
Copy link
Collaborator

No description provided.

@cristianoc cristianoc requested review from cknitt and zth December 4, 2024 07:58
Copy link
Member

@zth zth left a comment

Choose a reason for hiding this comment

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

Curious, how come the unreachable stuff is safe to delete? What does it actually do?

@cristianoc
Copy link
Collaborator Author

Curious, how come the unreachable stuff is safe to delete? What does it actually do?

Apparently it's this:
https://stackoverflow.com/questions/52795191/when-are-refutation-cases-necessary-in-ocaml

For which there's no syntax in ReScript.

One could surface that syntax, though wondering whether one should, given it has not surfaced in years of existence of the language.

@zth
Copy link
Member

zth commented Dec 4, 2024

Curious, how come the unreachable stuff is safe to delete? What does it actually do?

Apparently it's this: https://stackoverflow.com/questions/52795191/when-are-refutation-cases-necessary-in-ocaml

For which there's no syntax in ReScript.

One could surface that syntax, though wondering whether one should, given it has not surfaced in years of existence of the language.

Yeah seems like it's fine to get rid of.

@cristianoc cristianoc merged commit b9dd728 into master Dec 4, 2024
20 checks passed
@cristianoc cristianoc deleted the ast-cleanup-exp-object branch December 4, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants