mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 07:43:26 +00:00
fixes #1328
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user