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

Fix -Wunused-packages in test utils #4004

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

jhrcek
Copy link
Collaborator

@jhrcek jhrcek commented Jan 22, 2024

No description provided.

@jhrcek jhrcek requested a review from fendor as a code owner January 22, 2024 05:09
Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

, row-types
ghc-options: -Wall
ghc-options: -Wall -Wunused-packages
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in a common section?

Copy link
Collaborator Author

@jhrcek jhrcek Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This particular package only has one component (library) and no tests etc. So I felt it's overkill to declare common warnings because it would only be imported in one place.

@michaelpj michaelpj added the merge me Label to trigger pull request merge label Jan 22, 2024
@mergify mergify bot merged commit f4f5cce into haskell:master Jan 22, 2024
42 checks passed
josephsumabat pushed a commit to josephsumabat/haskell-language-server that referenced this pull request Jan 22, 2024
* Fix -Wunused-packages in test utils

* stylish-haskell

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
@jhrcek jhrcek deleted the jhrcek/unused-packages-test-utils branch January 23, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants