Don't allow pre-release versions of the max in "<" constraints.
RELNOTE=Pub will exclude pre-release versions of the upper bound in "<" constraints. This matches the behavior of semver in other package managers. BUG=https://code.google.com/p/dart/issues/detail?id=20302 R=nweiz@google.com Review URL: https://codereview.chromium.org//432913002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38806 260f80e4-7a28-3924-810f-c04153c831b5
Showing
- lib/src/version.dart 21 additions, 4 deletionslib/src/version.dart
- test/cache/add/all_adds_all_matching_versions_test.dart 1 addition, 3 deletionstest/cache/add/all_adds_all_matching_versions_test.dart
- test/version_solver_test.dart 2 additions, 2 deletionstest/version_solver_test.dart
- test/version_test.dart 30 additions, 4 deletionstest/version_test.dart
Loading
Please register or sign in to comment