DescriptionMake VersionRange implement Comparable.
This changes the ordering of ranges in a VersionUnion. It used to order
solely by the upper bound; it now orders by lower bound, then upper
bound. In addition to being a more intuitive ordering, this is easier to
programatically work with, because iterating through the ranges reaches
each one in the order of the versions it contains.
R=rnystrom@google.com
Committed: https://github.com/dart-lang/pub_semver/commit/ad0bed1e55290937e8e67c1ee2ab99101f1718f4
Patch Set 1 #
Total comments: 6
Messages
Total messages: 6 (1 generated)
|