Fixes isNil errors for compatibility with latest Nim.
This commit is contained in:
parent
e06ad6e497
commit
8134427266
6 changed files with 3 additions and 10 deletions
|
|
@ -39,8 +39,6 @@ proc `$`*(ver: Version): string {.borrow.}
|
|||
|
||||
proc hash*(ver: Version): Hash {.borrow.}
|
||||
|
||||
proc isNil*(ver: Version): bool {.borrow.}
|
||||
|
||||
proc newVersion*(ver: string): Version =
|
||||
doAssert(ver.len == 0 or ver[0] in {'#', '\0'} + Digits,
|
||||
"Wrong version: " & ver)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue