updated development version
This commit is contained in:
parent
08c94ef6b5
commit
a94a0f27f2
3 changed files with 7 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[Package]
|
||||
name = "compiler"
|
||||
version = "0.15.2"
|
||||
version = "0.15.3"
|
||||
author = "Andreas Rumpf"
|
||||
description = "Compiler package providing the compiler sources as a library."
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[Package]
|
||||
name = "stdlib"
|
||||
version = "0.15.2"
|
||||
version = "0.15.3"
|
||||
author = "Dominik Picheta"
|
||||
description = "Nim's standard library."
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -1827,7 +1827,7 @@ const
|
|||
NimMinor*: int = 15
|
||||
## is the minor number of Nim's version.
|
||||
|
||||
NimPatch*: int = 2
|
||||
NimPatch*: int = 3
|
||||
## is the patch number of Nim's version.
|
||||
|
||||
NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch
|
||||
|
|
@ -2189,16 +2189,16 @@ proc `==` *[T](x, y: seq[T]): bool {.noSideEffect.} =
|
|||
else:
|
||||
proc seqToPtr[T](x: seq[T]): pointer {.asmNoStackFrame, nosideeffect.} =
|
||||
asm """return `x`"""
|
||||
|
||||
|
||||
if seqToPtr(x) == seqToPtr(y):
|
||||
return true
|
||||
|
||||
|
||||
if x.isNil or y.isNil:
|
||||
return false
|
||||
|
||||
|
||||
if x.len != y.len:
|
||||
return false
|
||||
|
||||
|
||||
for i in 0..x.len-1:
|
||||
if x[i] != y[i]:
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue