-
Notifications
You must be signed in to change notification settings - Fork 2
Split correctly on datatypes with existential type variables #32
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
Split correctly on datatypes with existential type variables #32
Comments
Thanks for pointing it out! I will make another pull-req. shortly. Thank you again for a catch! |
Since this can be independently fixed on the original branch, I filed the pull-request in the haskell/haskell-language-server as haskell#508. |
I assume this issue is accidentally closed by GitHub (b/c the commit message closing this issue doesn't change anything related to tactics plugin at all!), and the bug itself still persists both in haskell/haskell-language-server and this repository, right? And I think my pull-req haskell#508 can finally fix this isuue. |
We found a bug in github! |
In the above, case splitting on
x
will result inwhich introduces an additional argument to
E
that should not be there. My suspicion is that this was introduced with 79b98f0 which is the opposite of what I'd expect from the commit message.Can you shed more light on what issue the commit was fixing @konn ? Replacing
dataConInstArgTys
withdataConInstOrigArgTys
seems to work fine with ghc 8.6.5 and also works with the above test case.The text was updated successfully, but these errors were encountered: