You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Return empty if the range represents the exact version or the range is empty.
280
-
if lhs.lowerBound == lhs.upperBound || lhs.lowerBound.nextPatch()== lhs.upperBound {
279
+
// Return empty if the range is empty. This means upper and lower bounds are equal since the range is half-open and there are no negative results here.
280
+
if lhs.lowerBound == lhs.upperBound {
281
+
return.empty
282
+
}
283
+
// If there is exactly one patch between lower and upper bound, the range represent the lower bound as an exact version. So the range is empty in this case as well.
0 commit comments