diff options
author | Araq <rumpf_a@web.de> | 2016-10-31 20:16:31 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-10-31 20:16:31 +0100 |
commit | a94a0f27f2252e06427364665e1cbb9a6bce5af7 (patch) | |
tree | 3a771e8780999d8987cbf1f32c224360c669e3d4 | |
parent | 08c94ef6b5beb3afb43787b406c61b0795ce66e2 (diff) | |
download | Nim-a94a0f27f2252e06427364665e1cbb9a6bce5af7.tar.gz |
updated development version
-rw-r--r-- | compiler.nimble | 2 | ||||
-rw-r--r-- | lib/stdlib.nimble | 2 | ||||
-rw-r--r-- | lib/system.nim | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/compiler.nimble b/compiler.nimble index cb3eb34f6..d949aa754 100644 --- a/compiler.nimble +++ b/compiler.nimble @@ -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" diff --git a/lib/stdlib.nimble b/lib/stdlib.nimble index 5238d900b..6949bfcc4 100644 --- a/lib/stdlib.nimble +++ b/lib/stdlib.nimble @@ -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" diff --git a/lib/system.nim b/lib/system.nim index 8648e23b4..65304941d 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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 |