Fix #2901: VersionRange.toString() doesn't handle >0.0.0
The `VersionRange.toString` method was not ideal and dropping
this rare case. A tiny improvement that was also done in the
process is to give higher priority to `matchesAny` so that
we get a more user-friendly output, given how common it is
(e.g. for `ToolchainRequirement`).
1 parent 6bfde5e commit 95e2ba6abe0f635b4c8070df72df2c06430ee6b0
@Mathias Lang Mathias Lang authored on 11 Jun
Mathias LANG committed on 11 Jun
Showing 2 changed files
View
source/dub/dependency.d
View
test/5-convert/dub.sdl