-
Notifications
You must be signed in to change notification settings - Fork 73
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
bogus proof for stuck type family #363
Comments
When this occurs in my experience, it means that something doesn't type-check, but the plugin somehow generates the aforementioned bogus proofs and hides it. If you want to work around this you can disable the plugin, to see what's wrong, and reenable after fixing it. But we should definitely look into this, as it's very annoying when it happens! |
for me, this mostly happens only in ghcide, but not when compiling with ghci 🤷 |
@googleson78 Yes, it was because the program wasn't typechecking this happened. I thought at first I had a valid program that Polysemy was rejecting because of a bug. |
Edit: I soon found out I had a type error, but I'm guessing this bug might still be useful to know about.
I was playing around with a more granular approach to #353 and all of a sudden I got:
Here is a reproducable script you can run with
./filename-you-saved-as.hs
:The text was updated successfully, but these errors were encountered: