updated development version

This commit is contained in:
Araq 2016-10-31 20:16:31 +01:00
commit a94a0f27f2
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[Package] [Package]
name = "compiler" name = "compiler"
version = "0.15.2" version = "0.15.3"
author = "Andreas Rumpf" author = "Andreas Rumpf"
description = "Compiler package providing the compiler sources as a library." description = "Compiler package providing the compiler sources as a library."
license = "MIT" license = "MIT"

View file

@ -1,6 +1,6 @@
[Package] [Package]
name = "stdlib" name = "stdlib"
version = "0.15.2" version = "0.15.3"
author = "Dominik Picheta" author = "Dominik Picheta"
description = "Nim's standard library." description = "Nim's standard library."
license = "MIT" license = "MIT"

View file

@ -1827,7 +1827,7 @@ const
NimMinor*: int = 15 NimMinor*: int = 15
## is the minor number of Nim's version. ## is the minor number of Nim's version.
NimPatch*: int = 2 NimPatch*: int = 3
## is the patch number of Nim's version. ## is the patch number of Nim's version.
NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch
@ -2189,16 +2189,16 @@ proc `==` *[T](x, y: seq[T]): bool {.noSideEffect.} =
else: else:
proc seqToPtr[T](x: seq[T]): pointer {.asmNoStackFrame, nosideeffect.} = proc seqToPtr[T](x: seq[T]): pointer {.asmNoStackFrame, nosideeffect.} =
asm """return `x`""" asm """return `x`"""
if seqToPtr(x) == seqToPtr(y): if seqToPtr(x) == seqToPtr(y):
return true return true
if x.isNil or y.isNil: if x.isNil or y.isNil:
return false return false
if x.len != y.len: if x.len != y.len:
return false return false
for i in 0..x.len-1: for i in 0..x.len-1:
if x[i] != y[i]: if x[i] != y[i]:
return false return false