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

ADTs with hole type consistency have casting bug #1311

Closed
gensofubi opened this issue May 20, 2024 · 2 comments
Closed

ADTs with hole type consistency have casting bug #1311

gensofubi opened this issue May 20, 2024 · 2 comments
Labels

Comments

@gensofubi
Copy link
Contributor

gensofubi commented May 20, 2024

601521e61192a0b8ae8a22ad3219bcab 67113d16c739bb9f9c84cbfb6a887b06

I expect both examples to work alright but one gives exceptions and the other is stucked.

@gensofubi gensofubi added the bug label May 20, 2024
@Negabinary
Copy link
Contributor

I just now pushed a quick fix to get this example working on that branch (https://hazel.org/build/remove-dhexp/).

I've changed a lot of how elaboration and pattern matching work on the #1197 branch. I think if we want to fix it on dev, it'll be somewhere in the matches cast sum function in PatternMatch.re. Hopefully #1197 will get merged soon though, so we may not need to do it on dev?

@Negabinary
Copy link
Contributor

Fixed in #1197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants