Create system.nim

Fix `deepCopy` incorrect argument description.
This commit is contained in:
impbox
2017-06-13 23:21:38 +10:00
committed by GitHub
parent f540a3683f
commit 1ddf10b23b

View File

@@ -3774,7 +3774,8 @@ proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} =
when hasAlloc and not defined(nimscript) and not defined(JS):
proc deepCopy*[T](x: var T, y: T) {.noSideEffect, magic: "DeepCopy".} =
## performs a deep copy of `x`. This is also used by the code generator
## performs a deep copy of `y` and copies it into `x`.
## This is also used by the code generator
## for the implementation of ``spawn``.
discard