-
Notifications
You must be signed in to change notification settings - Fork 696
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
Generalise 'AllowNewer'-types' names #3476
Conversation
data AllowNewerDep = AllowNewerDep PackageName | ||
| AllowNewerDepScoped PackageName PackageName | ||
data RelaxedDep = RelaxedDep PackageName | ||
| RelaxedDepScoped PackageName PackageName |
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.
indentation
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.
fixed
This also adds a not yet used `AllowOlder` newtype This is a preparatory refactoring propsed in haskell#3466 for supporting `--allow-older`
@hvr Haven't reviewed all changes in detail, but fine with me in principle. |
@@ -263,63 +264,87 @@ instance Semigroup GlobalFlags where | |||
-- 'build-depends: array >= 0.3 && < 0.5', are we allowed to relax the upper | |||
-- bound and choose a version of 'array' that is greater or equal to 0.5? By | |||
-- default the upper bounds are always strictly honored. | |||
data AllowNewer = | |||
data RelaxDeps = | |||
|
|||
-- | Default: honor the upper bounds in all dependencies, never choose |
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 haddock is outdated
Merged. |
This also adds a not yet used
AllowOlder
newtypeThis is a preparatory refactoring propsed in #3466 for supporting
--allow-older