Skip to content
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 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andreasabel
Copy link
Owner

Fixing a use of tail in the library.
In the test-suite, tail [] is intended, so switch off the x-partial there.

Ignoring -Wx-partial on older GHCs requires
-Wno-unrecognised-warning-flags, which entered GHC only in 8.0. Thus, dropping GHC 7.

Closes hspec#56.

Fixing a use of `tail` in the library.
In the test-suite, `tail []` is intended, so switch off the
`x-partial` there.

Ignoring `-Wx-partial` on older GHCs requires
`-Wno-unrecognised-warning-flags`, which entered GHC only in 8.0.
Thus, dropping GHC 7.

Closes hspec#56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x-partial warnings with GHC 9.8
1 participant