diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-09-02 20:17:16 +0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-09-02 20:17:16 +0500 |
commit | 967b5079f6c9b97040cf8d4ed7710ade5738a8d8 (patch) | |
tree | 961ca3b91f6ab76175439f8852fccf62ed50e2d0 | |
parent | 1c85a49e6b4ede5a58067a5405e8e6b40e53e241 (diff) | |
parent | 10f6a11cf22ac4be35eb8119b654124f2b58c45f (diff) | |
download | Nim-967b5079f6c9b97040cf8d4ed7710ade5738a8d8.tar.gz |
Merge pull request #1514 from fuzzthink/devel
Pointer -> pointer to fix compile error using --cs:partial
-rw-r--r-- | lib/system/jssys.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim index 8766906e3..423f63e2a 100644 --- a/lib/system/jssys.nim +++ b/lib/system/jssys.nim @@ -515,7 +515,7 @@ proc isFatPointer(ti: PNimType): bool = proc nimCopy(x: pointer, ti: PNimType): pointer {.compilerproc.} -proc nimCopyAux(dest, src: Pointer, n: ptr TNimNode) {.compilerproc.} = +proc nimCopyAux(dest, src: pointer, n: ptr TNimNode) {.compilerproc.} = case n.kind of nkNone: sysAssert(false, "nimCopyAux") of nkSlot: @@ -566,7 +566,7 @@ proc nimCopy(x: pointer, ti: PNimType): pointer = else: result = x -proc genericReset(x: Pointer, ti: PNimType): pointer {.compilerproc.} = +proc genericReset(x: pointer, ti: PNimType): pointer {.compilerproc.} = case ti.kind of tyPtr, tyRef, tyVar, tyNil: if not isFatPointer(ti): |