-
Notifications
You must be signed in to change notification settings - Fork 97
Allow using QuickCheck < 2.16
#5276
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
Conversation
543f0fe to
5f64770
Compare
5f64770 to
c49ee1e
Compare
7c9d0a9 to
d137062
Compare
|
It seems like we are hitting a false positive of I'm not sure there's a solution to this issue. |
6f93ac9 to
0da531b
Compare
cc39f97 to
8e9d895
Compare
coot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with some minor adjustments.
| ghc-options: -Wno-redundant-constraints | ||
| ghc-options: | ||
| -Wno-redundant-constraints | ||
| -Wno-unused-packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment, that this is only required until we support quickcheck-monoids.
| import "quickcheck-monoids" Test.QuickCheck.Monoids | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can squash this on top of the first commit, which contain similar changes.
|
|
||
| {-# LANGUAGE CPP #-} | ||
| {-# LANGUAGE CPP #-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the empty line, sort the pragmas and squash it onto the commit where it was introduced.
8e9d895 to
1cf2b22
Compare
1cf2b22 to
0d1b5d5
Compare
0d1b5d5 to
3991765
Compare
For not, '-Wno-redundant-constraints' is needed in testing libraries to prevent false-positives that lead to build errors with `-Werror`. See https://gitlab.haskell.org/ghc/ghc/-/issues/24173 for details.
3991765 to
2b1777f
Compare
This change is necessary for Consensus to build with the current Network