-
Notifications
You must be signed in to change notification settings - Fork 97
Do not enable every "unnecessary" warning by default #907
Conversation
LGTM. I tend to enable |
It seems that tests are not passing due to:
but I have no idea how to fix this, or if this is really a problem. It would be great if I could get a helping hand here :) |
set |
I think some of the tests rely on diagnostics which are no longer produced (in order to check that typechecking has completed), so you either have to enable the appropriate warnings for those tests, or add some other kind of construct which will result in some diagnostic. |
Thanks @wz1000, I've just pushed what I think is the right fix. |
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.
Thanks Alejandro!
This is the result of the discussion in haskell/haskell-language-server#572. As such, it closes #902 and supersedes it. Most of the warnings are anyway enabled by
-Wall
, which is taken as a good practice in the community.@georgefst @jneira you might be interested in this.