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

Apply package specific "ghc-options" after more general ones #3573 #3576

Merged
merged 2 commits into from
Nov 27, 2017

Conversation

mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Nov 14, 2017

The order was: specific, $targets, $locals, $everything
The order now is: $everything, $locals, $targets, specific

I figured it made sense for targets flags to come after locals, since it is
often a subset.

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md
  • The documentation has been updated, if necessary.

Please also shortly describe how you tested your change. Bonus points for added tests!

The order was: specific, $targets, $locals, $everything
The order now is: $everything, $locals, $targets, specific

I figured it made sense for targets flags to come after locals, since it is
often a subset.
@mgsloan
Copy link
Contributor Author

mgsloan commented Nov 23, 2017

Pinging @snoyberg . While changing the order of these ghc-options, it might make sense to also revisit the order of ghc options specified by profiling options - see #2853

@snoyberg snoyberg merged commit 4f33657 into master Nov 27, 2017
@snoyberg snoyberg deleted the apply-specific-ghc-options-after-general-3573 branch November 27, 2017 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants