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

Remove AnyVersion and WildcardVersion constructors #6742

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Apr 26, 2020

roundtrip doesn't pass yet, as parsec < 3 || >= 3 normalises to just parsec.

@phadej phadej force-pushed the any-version branch 3 times, most recently from 42efb51 to 99efcb4 Compare April 27, 2020 07:17
@phadej phadej marked this pull request as ready for review April 27, 2020 07:18
@phadej phadej changed the title WIP: Remove AnyVersion and WildcardVersion constructors Remove AnyVersion and WildcardVersion constructors Apr 27, 2020
These constructors don't carry any additional semantics.
They were used in `cabal check` implementation, but now already parser
reports errors so we don't need these redundant constructors anymore.

MajorBoundVersion (^>=) has slightly different semantics:
we want be able to relax only `^>= x.y.z` upper bounds.
Therefore it's preserved.
@phadej phadej merged commit 1a6dbcf into haskell:master Apr 27, 2020
@phadej phadej deleted the any-version branch April 27, 2020 19:06
@phadej phadej mentioned this pull request Jul 10, 2020
@phadej phadej added this to the 3.4.0.0-rc1 milestone Jul 13, 2020
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.

1 participant