Skip to content
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

Merged
merged 2 commits into from
Dec 8, 2021

Conversation

fendor
Copy link
Collaborator

@fendor fendor commented Dec 7, 2021

Just a minor code-cleanup, unifies warning flags and removes some code repetition.

@fendor fendor requested a review from jneira December 7, 2021 11:01
Comment on lines -457 to -460
-Wall -Wno-name-shadowing -threaded -rtsopts -with-rtsopts=-N -Wno-unticked-promoted-constructors

if flag(pedantic)
ghc-options: -Werror -Wredundant-constraints
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

@fendor fendor force-pushed the enhance/more-common-sections-in-hls branch from 6ed287e to c1539a9 Compare December 7, 2021 11:04
Copy link
Member

@jneira jneira left a 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

@jneira jneira added the merge me Label to trigger pull request merge label Dec 7, 2021
@mergify mergify bot merged commit ccf9d04 into haskell:master Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants