-
Notifications
You must be signed in to change notification settings - Fork 696
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
Remove overlapping patterns #8012
Conversation
Ok, this makes everything build successfully on GHC 9.2, tests still fail because of #7987 |
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, thanks!
The quick way to see the green ticks is https://github.com/haskell/cabal/actions?query=branch%3Aandrea%2Ffix-overlapping-patterns |
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.
It's all green!
This pr, like the other ones needs #8000 to run the jobs with the new names which are required |
@Mergifyio rebase |
✅ Branch has been successfully rebased |
57f7f6c
to
f9d0f8c
Compare
CI jobs are stuck due to #8000 not merged yet, so let me merge manually. |
@Mergifyio rebase |
These two `otherwise`s have been dead code since about 2016 but GHC has started warning about them only since 9.2.
✅ Branch has been successfully rebased |
f9d0f8c
to
22b700b
Compare
These two
otherwise
s have been dead code since about 2016 but GHC hasstarted warning about them only since 9.2.
I have checked that in these cases GHC has always been picking the first matching pattern.