#2630 sys::Depend.match() anomaly

SlimerDude Mon 21 Aug 2017

It's a bit of an odd case, but I would expect both of the expressions below to return true:

Depend("pod 1.0.0 - 2.0").match(Version("1.0"))  // --> false
Depend("pod 1.0.4 - 2.0").match(Version("1.0"))  // --> false

On a related note, some format for pessimistic versioning would be nice too!

brian Wed 23 Aug 2017

May be odd, but you have to require some sort of formal semantics for how to deal with unbalanced number of segments which Fantom does without consideration of zero:

fansh> Depend("pod 1.0.0") <=> Depend("pod 1.0")

Login or Signup to reply.