-
Notifications
You must be signed in to change notification settings - Fork 28
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
inspection-testing-0.5.0.3/0.6 fails with GHC-9.12 #82
Comments
Actually I see this error with |
In particular, there seems to be only on tests which causes the panic:
in |
For the record, I was pointed to https://gitlab.haskell.org/ghc/ghc/-/issues/25468 but applying it fix to GHC-9.12.1-release didn't make the issue go away. (EDIT: looking at GHC issue tracker It still might be a GHC issue, but I leave it to you to report upstream, as I don't know what |
Another note: With |
Yes, seems test suite is incomplete. I will see if I can extract the part of well-typed/optics#512 to add to the tests here. |
I have reproduced the issue locally by cloning https://github.com/well-typed/optics/ and checking out the Reducing the file
is sufficient to trigger the GHC bug. |
Raised a GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/25631 Now trying to extract the code that triggers this bug for inclusion in the test suite. |
When I cargo culted minimal parts of |
SPJ' latest comment: https://gitlab.haskell.org/ghc/ghc/-/issues/25631#note_602995 I had a look at the code but could make very little sense of it. @nomeata ? |
FYI, I've just used inspection-testing with a couple weeks old GHC HEAD with great success and no crashes. But I haven't attempted reproducing your problem. |
But it's metadata explicltly says it works:
ghc <9.13
. Please fix eitherinspection-testing-0.5
or metadata.The text was updated successfully, but these errors were encountered: