-
Notifications
You must be signed in to change notification settings - Fork 92
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 ghc and hlint warnings #568
Conversation
& L.documentChanges . _Just . traversed %~ swapDocumentChangeUri | ||
|
||
swapKeys :: (Uri -> Uri) -> M.Map Uri b -> M.Map Uri b |
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.
The only non-mechanical change, I just noticed and couldn't resist the simplifcation 😃
eb9a1b0
to
ec6b502
Compare
cabal.project
Outdated
@@ -10,12 +10,15 @@ test-show-details: direct | |||
|
|||
benchmarks: True | |||
|
|||
package * | |||
ghc-options: -Wunused-packages |
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.
Hmm. I think we normally put warning options in the cabal files, can we do that here too? Putting them all in cabal.project
wouldn't be totally unreasonable, it's just inconsistent.
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.
I was just lazy 😄
But I agree and I moved it to cabal files + slightly consolidating using common warnings
stanza and fixed few more warnings.
I hope there's nothing controversial, but will wait few days for your feedback (or let you merge if you think it's ok).
@@ -53,7 +57,6 @@ library | |||
GADTs | |||
NegativeLiterals | |||
OverloadedStrings | |||
StandaloneKindSignatures |
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.
Removing this, as it's contained in GHC2021
Great, thanks! Just needs the formatting fixed. |
Fixed. Also noticed that I don't have right to merge (and I don't necessarily want them) so leaving merging up to you. |
No description provided.