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

refactor plugin: add reproducer and fix for #3795 #4016

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

jhrcek
Copy link
Collaborator

@jhrcek jhrcek commented Jan 24, 2024

@@ -102,7 +102,7 @@ test-suite tests
hs-source-dirs: test
main-is: Main.hs
other-modules: Test.AddArgument
ghc-options: -O0 -threaded -rtsopts -with-rtsopts=-N -Wunused-imports
ghc-options: -O0 -threaded -rtsopts -with-rtsopts=-N -Wno-name-shadowing
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

-Wunused-imports is already part of -Wall imported via import: warnings.
On the other hand these tests rely on shadowing a lot, so disabling this warning.

@jhrcek jhrcek changed the title refactor plugin: add reproducer for #3795, fix few warnings in test refactor plugin: add reproducer and fix for #3795 Jan 25, 2024
@jhrcek jhrcek marked this pull request as ready for review January 25, 2024 07:53
@jhrcek jhrcek requested a review from santiweight as a code owner January 25, 2024 07:53
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.

Couple of nitpicks, PR looks good to me, thanks for fixing the bug!

@jhrcek jhrcek requested a review from fendor January 26, 2024 10:09
@fendor fendor merged commit 4f473a9 into haskell:master Jan 26, 2024
40 checks passed
@jhrcek jhrcek deleted the jhrcek/reproducer-3795 branch February 12, 2024 09:09
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.

2 participants