diff options
author | Araq <rumpf_a@web.de> | 2014-07-08 08:48:48 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-08 08:48:48 +0200 |
commit | 91ecae9c9328077f87053bc1fc313e950de4a373 (patch) | |
tree | 2aff036652d6dbacb4e1b4395c00ba0e6653abad /lib/system.nim | |
parent | f16449ec22751ca0e864d70424760e540a80c804 (diff) | |
download | Nim-91ecae9c9328077f87053bc1fc313e950de4a373.tar.gz |
fixes #1328
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 0cd1f77df..ac259c560 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -46,6 +46,7 @@ const on* = true ## alias for ``true`` off* = false ## alias for ``false`` +{.push warning[GcMem]: off.} {.push hints: off.} type @@ -2989,6 +2990,8 @@ proc deepCopy*[T](x: T): T {.magic: "DeepCopy", noSideEffect.} = discard ## performs a deep copy of `x`. This is also used by the code generator ## for the implementation of ``spawn``. +{.pop.} #{.push warning[GcMem]: off.} + when not defined(booting): type semistatic*[T] = static[T] | T |