-
Notifications
You must be signed in to change notification settings - Fork 39
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
Build issues with ghc 8.0.0 RC3 #56
Comments
Thank you for the report. It looks like there were quite a few breaking changes. I will look at this. |
Thanks. It is not urgent for me (I'm using heroku so stuck with ghc 7.8 for On Wed, Apr 13, 2016, 12:50 Boris Lykah [email protected] wrote:
|
Bump |
There is a branch https://github.com/lykahb/groundhog/commits/ghc8. The Template Haskell breaking changes were easy to fix. The hard part is to fix the type inference for the expressions. You can see the errors if you remove the GHC pragmas in Expression.hs and try running the tests. |
I have some improvements to that branch here: https://github.com/andrewthad/groundhog/tree/correct_overlapping_instances Most of the type errors in the test suite were only caused because this branch has There were two places where this did not clear things up:
I'm new to groundhog, so I don't fully what the problem here is or if it's likely to be an issue in practice. I suspect that polymorphic keys are probably uncommon and that this test can be disabled. If so, it would be nice to have a GHC8 release, even if it has to come with these small type inference regressions. |
Another side note, I just realized that running |
Nevermind the non-determinism. I think that |
The non-determinism is probably related to this issue. #51 |
@mightybyte It's not that because the errors I get are about the instances I added overlapping pragmas to. The errors are missing the |
Ahh ok. I just wanted to make sure you knew about that one. |
I planned to make a new release after finishing pipes/conduit integration and upgrading to ghc 8. However, recently it's been harder to find time for the open source. @andrewthad Disabling testKeys is fine, that case should not be common. Can you open a PR? Thank you for your work! |
I just put up a PR, which my company has been using internally. It has been working for us. There is another module that uses the deprecated |
I bumped the groundhog transformers constraint from
< 0.5
to< 0.6
ingroundhog.cabal
(as well as bumping the version to 0.7.0.4) and tried to build 6d2f681 with 8.0.0 RC3 - i.e.and got the following errors:
The text was updated successfully, but these errors were encountered: