Fix #110 : use '^' rather than '-' for list negative indexes
This commit is contained in:
parent
491b63cb5f
commit
87d6f908cc
5 changed files with 8 additions and 8 deletions
|
|
@ -139,7 +139,7 @@ proc parseVersionRange*(s: string): VersionRange =
|
|||
new(result)
|
||||
if s[0] == '#':
|
||||
result.kind = verSpecial
|
||||
result.spe = s[1 .. -1].Special
|
||||
result.spe = s[1 .. ^1].Special
|
||||
return
|
||||
|
||||
var i = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue