-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Conversation
jhrcek
commented
Jan 24, 2024
•
edited
Loading
edited
- adding reproducer for Code action to define undefined variables includes suggestions in type signature #3795
- fixing the bug
- fixing bunch of warnings in refactor plugin tests
@@ -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 |
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.
-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.
plugins/hls-refactor-plugin/src/Development/IDE/Plugin/Plugins/Diagnostic.hs
Show resolved
Hide resolved
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.
Couple of nitpicks, PR looks good to me, thanks for fixing the bug!