-
Notifications
You must be signed in to change notification settings - Fork 19
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
Handle GHC 9.8's x-partial warning, requires dropping GHC 7 #59
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/dist/ | ||
/HunitTest.tmp | ||
/.stack-work/ | ||
/dist-newstyle/ | ||
/stack*.yaml.lock |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.34.3. | ||
-- This file has been generated from package.yaml by hpack version 0.36.0. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apparently the repository is missing a If you wanna add that, then that would be more than welcome. |
||
-- | ||
-- see: https://github.com/sol/hpack | ||
|
||
|
@@ -30,7 +30,7 @@ library | |
hs-source-dirs: | ||
src | ||
build-depends: | ||
base ==4.*, | ||
base >=4.9, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is Hackage accepting packages that don't specify an upper bound on |
||
call-stack >=0.3.0, | ||
deepseq | ||
exposed-modules: | ||
|
@@ -52,7 +52,7 @@ test-suite tests | |
examples | ||
build-depends: | ||
HUnit, | ||
base ==4.*, | ||
base >=4.9, | ||
call-stack >=0.3.0, | ||
deepseq, | ||
filepath | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags #-} -- since GHC 8.0 | ||
{-# OPTIONS_GHC -Wno-x-partial #-} -- since GHC 9.8 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something I just noticed, all this tests are technically broken.
doesn't really work. This should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Or maybe just delete the test case. Or alternatively replace it with one that uses |
||
|
||
module HUnitTestExtended (extendedTests) where | ||
|
||
import Test.HUnit | ||
|
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.
If we only want to test the latest minor version, then I think it is better to use something like
- "9.10"
, etc...