-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Make heavy use of common sections #2447
Make heavy use of common sections #2447
Conversation
-Wall -Wno-name-shadowing -threaded -rtsopts -with-rtsopts=-N -Wno-unticked-promoted-constructors | ||
|
||
if flag(pedantic) | ||
ghc-options: -Werror -Wredundant-constraints |
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.
This configuration changes compared to before. E.g. -Wredundant-constraints
is always added to the list of warnings.
, directory | ||
, process | ||
, hls-test-utils | ||
, extra | ||
|
||
hs-source-dirs: test/wrapper | ||
main-is: Main.hs | ||
ghc-options: -Wall |
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.
We add more warnings than just -Wall
6ed287e
to
c1539a9
Compare
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 for the refactoring, looks cleaner now
Just a minor code-cleanup, unifies warning flags and removes some code repetition.