(zilch lang resolver): fix(?) parsing of "< 3" as version requirement
This commit is contained in:
parent
8cc567a075
commit
c68f3852e0
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@
|
||||||
((1) (next-major parsed-version)))))))
|
((1) (next-major parsed-version)))))))
|
||||||
; TODO: this implements the RFC 3493-style implicit prerelease stuff, I _think_
|
; TODO: this implements the RFC 3493-style implicit prerelease stuff, I _think_
|
||||||
((<) (list (cons '< (exclude-prerelease parsed-version))))
|
((<) (list (cons '< (exclude-prerelease parsed-version))))
|
||||||
((<=) (list (cons '<= parsed-version)))
|
((<=) (list (cons '< (first-incompatible parsed-version)))) ; TODO(puck): is this correct? how *should* "<= 3" be parsed.
|
||||||
((>) (list (cons '> parsed-version)))
|
((>) (list (cons '> parsed-version)))
|
||||||
((>=) (list (cons '>= parsed-version)))
|
((>=) (list (cons '>= parsed-version)))
|
||||||
((=) (list (cons '= parsed-version)))
|
((=) (list (cons '= parsed-version)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue