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

Test demonstrating a bug: merlin-destruct raises for some aliases to GADTs #36

Closed
wants to merge 2 commits into from

Conversation

ncik-roberts
Copy link
Contributor

If u is an alias to GADT t, then it's possible to arrange for merlin-destruct to raise on a term of type (x : u). This PR adds a test demonstrating as such.

Unfortunately we have introduced this bug: it's not present in ocaml/merlin at main or at the 501-preview branch.

@ncik-roberts
Copy link
Contributor Author

I'm marking this as a draft pull request because it includes a stack trace and will thus have somewhat fragile output, so we shouldn't merge it.

@ncik-roberts
Copy link
Contributor Author

ncik-roberts commented Jan 5, 2024

Superceded by #38 , even though this isn't a fix for the underlying issue.

@goldfirere
Copy link
Contributor

So what should happen here?

@ncik-roberts
Copy link
Contributor Author

We can close this. (I didn't think it would show up anywhere, as it's a draft, but I see it shows up in at least my view of GitHub issues, so... let's close it.)

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.

2 participants