-
-
Notifications
You must be signed in to change notification settings - Fork 395
refactor plugin: add reproducer and fix for #3795 #4016
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
@@ -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!
Uh oh!
There was an error while loading. Please reload this page.